Skip to main content
Question

GDPR, Quebec 25 Consent - Do Not Track Question

  • July 14, 2026
  • 2 replies
  • 79 views

advancedutility

Hi All, 

I have been tasked with ensuring that no cookies fire on my site until someone gives consent because of GDPR and Quebec 25. If I put the ActiveCampaign tracking code in the footer of my site, will that keep it from firing before consent is given, or is there some additional code I need to include or a button that I need to toggle to keep that from happening?  How do I ensure that the AC cookie doesn’t fire before consent is given?

 

Any assistance and information you can provide would be greatly appreciated. 

 

Kathy

2 replies

  • Participating Frequently
  • July 30, 2026

No, putting it in the footer alone won't prevent the ActiveCampaign cookie from firing. You should use a consent management tool to block the tracking script until the user accepts cookies. That approach is generally the safest way to stay compliant with GDPR and Quebec Law 25.


Alanna Hurley
Forum|alt.badge.img+3
  • Community Manager
  • July 30, 2026

Hi Kathy,

No, putting the ActiveCampaign site tracking code in the footer by itself does not prevent tracking before consent. Footer placement is just the recommended install location for Site Tracking, and ActiveCampaign’s docs note that the code in the footer is there to make tracking work across your pages. The part that controls consent is the tracking behavior, not whether the snippet sits in the footer. (How to set up Site Tracking, An overview of Site Tracking)

If you want to avoid firing tracking before someone opts in, the recommended setup is:

  • Replace your existing Site Tracking code with the latest version from your ActiveCampaign account.

  • Change the code from vgo('setTrackByDefault', true); to vgo('setTrackByDefault', false);.

  • Use your own consent banner / consent management tool to collect affirmative consent.

  • Only after the visitor clicks Yes/Accept should you call vgo('process', 'allowTracking').

  • If you want their choice to persist, store your own consent cookie and, on future page loads, check for that cookie and then run vgo('process', 'allowTracking') again. (Site tracking and the GDPR)