The “Web page is visited” automation trigger uses site tracking data to begin an automation when a contact visits a page on your website. In order to use this trigger, you will first need to set up site tracking.
Automation triggers are very literal and how you set this trigger up can “make or break” your automation. In this document, we’ll list best practices for using the “Web page is visited” trigger so that your automation fires when a contact visits your specified URL.
- The whitelisted domain must match the domain contacts are visiting exactly. If the URL your contacts are visiting is www.mysite.com, ("www" included) you’ll want to make sure that www.mysite.com is whitelisted under Account>My Settings> Tracking. If mysite.com is whitelisted instead ("www" NOT included), then site visits will not be tracked and your automation will not trigger.
- Make sure the correct domain is selected in your trigger:
The domain in your trigger must exactly match the domain that contacts are visiting. Again, if contacts are visiting www.mysite.com, then you’ll need to select “www.mysite.com” as the domain in your trigger. If you select something like, “mysite.com” instead, then the automation will not fire.
- Make sure the URL path (if using) listed in your trigger exactly matches the page that contacts are visiting. For example, let’s say you want to trigger an automation to run every time a contact visits www.activecampaign.com/blog/
This is how you would set up the URL for that trigger:
Notice that the path to that specific page ends in a forward slash (/). We need to make sure to include that forward slash in our trigger. If we do not, then the automation will not trigger to run.
- Leverage Wildcard URLs (*). You can use wildcard URLs to trigger an automation to run when contacts visit groups of pages on your site. A wildcard URL uses the * symbol to indicate that “any page in this path” should begin the automation. For instance, “http:/www.activecampaign.com/bog/*” would begin the automation when a contact visited any post on our blog:
And“http://activecampaign.com/*” would begin an automation when any page on this site is visited:
Note: Wildcards can be used at the end of your URL (http://yourdomain.com/*) or in the middle of your URL (http://yourdomain.com/*/test.php).