Drip Forms are a legacy feature, being replaced by Onsite Campaigns. If your account is created after November 2022, you will have access to Drip's new Onsite product instead.
Use wildcards to show or hide the form Widget on all pages of a subcategory of your website. Wildcards match groups of similar URLs. For example, only show the Drip widget on the "/blog" subdirectory of your site.
Here's an example of a URL containing a subcategory: https://drip.com/blog.
The “blog” subcategory contains a number of blog posts. To show a form Widget on every single blog post contained in that subcategory, apply a wildcard to the URL.
Here's an example of a wildcard for the “/blog” subdirectory: /blog/**
There are two kinds of wildcards:
- Single asterisk(*)
- Double asterisk(**)
Single Asterisk Wildcards
The single asterisk matches an individual URL segment. For example, "/blog/*" matches "/blog/basic but does not match /blog/basic/123".
Double Asterisk Wildcards
The double asterisk(**) wildcard matches one or more URL segments. For example, "/blog/**" matches "/blog/123 and /blog/category/marketing/1234".
Mix Wildcards Together
Here are a few examples of how to mix wildcards together:
Use the single asterisk(*) wildcard in the query string. For example, /blog/**?s=* matches any page under the blog subdirectory with the query string parameter set to anything.
Phrases wrapped in square brackets are interpreted as regular expressions. For example, we will translate [(help|support)] into/(help|support)/ and match it against the current URL in JavaScript. For more information about regular expressions, check out this guide.
Add a Wildcard to a Form
- Go to Forms
- Select a Form from the list or create a new one
- Go to Behavior > Visibility
- Check Hide on specific pages or Only show on specific pages
- Enter the URL and wildcard
- Click Save Settings
The Form will be hidden or only show on that subdirectory of your site.