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.

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.

  1. 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.

    whitelist_domains.png

  2. Make sure the correct domain is selected in your trigger:

    select_domain_in_trigger.png

    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.
  3. 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/

    example_url.png

    This is how you would set up the URL for that trigger:

    domain_and_path.png

    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.
  4. 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:

    Wildcard_URL.png

    And“http://activecampaign.com/*” would begin an automation when any page on this site is visited:

    wildcard_url_2.png

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).

Have more questions? Submit a request