How to set up Site Tracking

Site Tracking connects your marketing and sales process to your website activity by tracking webpage visits made by contacts in "real-time."  

In order for Site Tracking to work, you'll need to whitelist your domain(s) and place a small snippet of tracking code that we provide into each page of your website. Once a contact is identified, we'll place a tracking cookie on them which will record their page views. This page view data will then get sent back into your ActiveCampaign account.

Site Tracking is quick and easy to set up. We recommend that everyone sets up Site Tracking because it's a core feature that enables more powerful marketing and sales processes.

To read more about Site tracking and how it works, see this help article.

In this article, we'll discuss:

How to turn on Site Tracking and whitelist domains

1. Click "Settings" located in the left menu.

2. Click "Tracking" on the left side of the Settings page.

3. Under Site Tracking, click the red toggle to turn site tracking on.

4. You'll see a section called “Whitelist and Install Code” and an option to add your domain(s).

In the "Add Website URL" field, type your website URL (excluding the “http://") and click “Add.” Your domain will appear to indicate it's whitelisted.

Add each of your domains (you can include the domains of multiple websites) and subdomains. Note that you are not required to include the "www" in the URL in order to whitelist the domain.

5. The Site Tracking and Conversations boxes will be checked by default for each domain you whitelist. The checked Conversations box means that the Conversations chat widget will appear on those pages. If you only wish to enable site tracking, you can uncheck the "Conversations" box.

Note that in order to add the chat widget to your website, you'll need to enable the Conversations feature.

Installing Site Tracking code

To install Site Tracking code on your site, click the "Tracking Code" box located on the Settings > Tracking page:

Press Control + c (Command + C on a Mac) to copy the code to your clipboard.

Press Control + v (Command + v on a Mac) to paste the code into your website.

For Site Tracking to work, you need to paste the tracking code that we provide into each page of your website. In general, we recommend placing the code in the footer as this is the easiest way of having site tracking work on all pages. However, you will need to review the documentation provided by your Content Management System (CMS) to make sure the placement of the code is correct. In addition, they may provide a solution that allows you to only paste the code once, and have it display on all pages.

Note that if you also have Conversations checked on the Tracking page, the chat widget will appear on every page that has site tracking code installed. 

If you are using a WordPress site, please see our WordPress plugin article.

How contacts are identified

Contacts need to be identified so that their site visits can be linked to their email address. They can be identified in any one of the following ways:

To read about Site Tracking and the GDPR, click here

Have more questions? Submit a request