How to send a campaign when a web page is visited


With ActiveCampaign, you can send a campaign to a contact when they visit a page on your site. You can time the email to send right away, or you can wait for a period of time before it's sent. Sending campaigns based on page visits lets you send relevant and timely communications based on that contact's behavior.

Take note

This setup requires you to set up Site Tracking on your website.

Create an automation that sends an email when a contact visits a webpage

  1. Click Automations on the left menu.
  2. Click the "Create an automation" button.
  3. Click the "Start from Scratch" option then click the "Continue" button.
  4. The "Add a Start Trigger" modal will appear. Click the "Web page is visited" trigger. Then click the "Continue" button.
  5. The "Action options" modal will open. Click the "Web page URL" dropdown and click the domain you want to use.
    • In the next field, you can run the automation on visits to large portions of your website using wildcard URLs. For instance, to run the automation when any page in your “products” directory is visited, you'd enter a URL like:*
    • The asterisk symbol tells ActiveCampaign to run the automation when any URL is visited in the products directory. So visits to any of the URLs below would trigger your automation:
  6. Set the automation to run “Once” so that the contact doesn't receive the same message repeatedly each time they visit the page.
  7. Optional: You can also segment contacts entering the automation by clicking the "Segment the contacts entering this automation" checkbox. 
    • You may want to use this option if there are certain contacts you don't want to enter the automation even though they visited your page or only allow contacts to enter the automation if they visited your page twice.
  8. When finished, click the "Add Start" button.
  9. Next, you'll add your first action to the automation. We recommend adding a "Wait" condition here. This will prevent the email from being sent to the contact immediately after they visit your page.
    • Drag the "Wait" action to your automation
    • You can have the contact wait in this step for a specific amount of time or until they meet certain conditions
    • In the next modal, determine how long the contact should wait in this step
    • When finished, click the "Save" button
  10. Next, drag the "Send Email" action to your automation.
    • You'll be prompted to create an email campaign. You'll be walked through the steps of the campaign creation process. When you are done designing your message, you'll be returned to the automation builder
  11. When ready, click the “Active” button to turn the automation on.

From that point forward, as contacts visit that page of your site, the automation will run and send them the campaign you created.

Was this article helpful?
12 out of 20 found this helpful

Have more questions? Submit a request

Start free trial