Skip to content
FunnelGuard

Fix guide by FunnelsGuard

ActiveCampaign / Mailchimp site tracking missing: how to fix it

TRK-274Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Both tools offer site tracking: a small JavaScript snippet on your website. It links a visitor to a contact in your list (usually after they click a tracked email link or submit a form) and records the pages they view afterwards.

In ActiveCampaign, this is the site tracking code under Website > Site Tracking. In Mailchimp, it is the connected site script or Mailchimp pixel, which you get when you connect a site or use a Mailchimp popup or form on it. The issue is that the snippet is not on the page, not loading, or not allowed to run.

Why it costs you leads or sales

Without the script, you lose the page-visit data your automations rely on. Examples are a follow-up email after someone views a pricing page, lead scoring based on visits, or a cart or product reminder. Contacts look inactive when they are not.

Where the data stops
  1. Email clickContact arrives from a campaign
  2. Page loadsTracking script missing or blocked
  3. Visit recordedNo page view saved to the contact
  4. AutomationVisit-based trigger never fires

The tracking script is the link between a visit and the contact record.

Contacts with recorded site visitsExample numbers
Contacts with recorded site visits (example)Script missing: 0 %; Script installed: 70 %02754070Script missingScript installed%

Example: share of clicked-email contacts showing page visits before and after the script was fixed. Numbers are illustrative.

How to check if your site has it

Check that the script loads
  1. View the page source

    Open a key page in a private window, right-click, choose View page source and search for your account ID or for 'trackcmp' (ActiveCampaign) or 'chimpstatic' / 'mc.us' (Mailchimp).

  2. Check the Network tab

    Open browser developer tools, go to Network, reload and filter for the same names. A request that returns status 200 means the script loaded. No request means it is missing or blocked.

  3. Test with a real contact

    Send yourself a campaign, click a tracked link, browse two pages, then open your contact record. Page views can take a few minutes to appear.

  4. Check the account settings

    In ActiveCampaign, confirm Website > Site Tracking is switched on and your domain is listed. In Mailchimp, confirm the site is connected and the script status is active.

  5. Test with consent denied

    Reject cookies in your banner and reload. If the script never loads even after you accept, your consent tool is blocking it.

How to fix it

First copy the current snippet from your account, because it includes your account ID. Then add it to every page, ideally once, in the site-wide header or footer.

Install the site tracking script
  1. Use the official plugin or a header snippet

    ActiveCampaign has an official plugin; sign in with your account URL and key and enable site tracking. For Mailchimp, use the Mailchimp for WooCommerce or Mailchimp for WordPress connection, or paste the snippet into a header tool such as WPCode.

  2. Clear caches

    Purge your cache plugin and CDN so pages include the script.

ActiveCampaign site tracking (replace the ID with your own)html
<script type="text/javascript">
(function(e,t,o,n,p,r,i){e.visitorGlobalObjectAlias=n;e[e.visitorGlobalObjectAlias]=e[e.visitorGlobalObjectAlias]||function(){(e[e.visitorGlobalObjectAlias].q=e[e.visitorGlobalObjectAlias].q||[]).push(arguments)};e[e.visitorGlobalObjectAlias].l=(new Date).getTime();r=t.createElement("script");r.src=o;r.async=true;i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i)})(window,document,"https://diffuser-cdn.app-us1.com/diffuser/diffuser.js","vgo");
vgo('setAccount', 'YOUR_ACCOUNT_ID');
vgo('setTrackByDefault', true);
vgo('process');
</script>

How to confirm it's fixed

Confirmation checks
  • The script request returns status 200 in the Network tab on your key pages
  • The snippet appears only once per page
  • A test contact who clicked a tracked email link shows page views in their record
  • The site's domain is listed and active in the tool's tracking settings
  • The script loads after you accept cookies in your banner
  • A visit-based automation starts for a test contact

How to prevent it happening again

Most regressions come from theme changes, new landing page tools, tag manager edits or cache and consent updates. Keep the install in one place, note who owns it, and retest after any change to templates or the cookie banner.

Prevention habits
  • Install the script in one place only (plugin, theme or tag manager)
  • Add a retest to your launch checklist for new pages and domains
  • Retest after theme updates, migrations and consent tool changes
  • Check landing page builders that run on separate domains
  • Review a sample contact's activity monthly

How FunnelGuard handles this

FunnelGuard does not check for ActiveCampaign or Mailchimp site tracking yet. It is a possible future check.

What FunnelGuard does today is run your real journeys, such as lead forms and checkouts, on a schedule. It checks each step, the tracking hits sent to ad and analytics platforms like GA4, Google Ads and Meta, and whether test leads reach your inbox and CRM. If a form breaks or a lead never arrives, you get one alert with a screenshot and likely cause.

Manual ways to watch for missing site tracking
MethodHow oftenWhat it shows
Network tab check on key pagesAfter each site changeWhether the script loads
Tracked email click testMonthlyWhether visits reach the contact
Tag manager Preview modeAfter tag editsWhether the tag fires
Contact activity reviewMonthlySudden drops in recorded visits

Questions people ask

Why is my ActiveCampaign site tracking not working?

The usual causes are a missing or duplicated script, a domain not listed in Site Tracking, a cache serving old pages, or a cookie banner blocking the script. Check the page source and Network tab for the script, then confirm your domain is enabled in Website > Site Tracking.

Why are page visits not showing on my ActiveCampaign contact?

Tracking only links a visit to a contact after they are identified, for example by clicking a tracked email link or submitting a tracked form. If the script loads but visits still do not appear, test with a fresh email click and allow a few minutes.

How do I check if the Mailchimp tracking script is on my website?

Open a page, view the source or the Network tab, and search for your Mailchimp script or pixel request. Also check in Mailchimp that your site is connected and shows as active.

Does a cookie banner stop ActiveCampaign tracking?

It can. If your consent tool blocks marketing scripts until visitors accept, the snippet will not load for those who decline. Configure the tag to fire after consent and do not bypass the choice.

How do I install ActiveCampaign site tracking on Shopify or WordPress?

On WordPress, use the ActiveCampaign plugin or add the snippet through a header tool. On Shopify, install the official app or paste the snippet into theme.liquid before the closing head tag. Then clear caches and retest.

Can I add the tracking script through Google Tag Manager?

Yes. Create a Custom HTML tag with your snippet, trigger it on All Pages or after consent, test in Preview mode and publish. Make sure the script is not also hard-coded in your theme.

Does FunnelGuard monitor ActiveCampaign or Mailchimp site tracking?

Not yet. It is a possible future check. FunnelGuard does run your lead journeys and check ad and analytics tracking hits and test lead delivery, but you need to check this script manually for now.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.