Best practices for using the "Web page is visited" automation trigger

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.

In this article, we’ll list best practices for using the “Web page is visited” trigger so that your automation runs when a contact visits your specified URL.

  • The whitelisted domain must match the domain contacts are visiting.
    For example, If the URL your contacts are visiting is yourdomain.com, you’ll want to make sure that mysite.com is whitelisted under Account>My Settings> Tracking. 
  • Make sure the correct domain is selected in your automation trigger, especially if you have whitelisted more than one domain.
  • 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 yourdomain.com/blog/ page. You would set up the trigger like this:

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.

  • 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, yourdomain.com/blog/* would begin the automation when a contact visits any posts on our blog:

And yourdomain.com/* would begin an automation when any page on this site is visited:

Note: Wildcards can be used at the end of a URL yourdomain.com/* or in the middle of a URL yourdomain.com/*/test.php.

Have more questions? Submit a request