AFL UTM Tracker Documentation

  1. Home
  2. Docs
  3. AFL UTM Tracker Documentation
  4. Cookie Consent Banner Integration
  5. Welaunch WordPress GDPR Integration

Welaunch WordPress GDPR Integration

You can integrate our AFL UTM Tracker plugin with the Welaunch WordPress GDPR plugin to opt-in or opt-out of our plugin cookies by following the setup below.

Minimum Requirements:

  • AFL UTM Tracker v2.14.7
  • Welaunch WordPress GDRP v2.0.1
  • Google Tag Manager
  • Google Consent Mode

Steps

AFL UTM Tracker Setup

  1. Login to your WordPress dashboard.
  2. Go to AFL UTM Tracker menu > Settings.
  3. Look for the Cookie Consent Integration section.
  4. Set Cookie Consent Integration: GTM / Manual
  5. Set Consent Category: Statistics or Marketing
  6. Save settings.
  7. Clear all page cache.

Welaunch WordPress GDRP Setup

  1. Go to the GDPR menu > Settings.
    • Enable Google Consent Mode V2 Support: Checked
  2. Go to the GDPR menu > Services.
    • New GDPR Service.
    • Type in “AFL UTM Tracker” into the label name.
    • Under the Meta Information:
      • Is Google Analytics?: Checked
    • Under the GDPR Service Categories:
      • Create new or use existing ‘Statistics’ or ‘Analytics’ category.
    • Publish.

Google Tag Manager Setup

  1. Download our Google Tag Manager template.
  2. Login your Google Tag Manager dashboard.
  3. Go to your website’s container.
  4. Under Templates > New.
  5. Click the burger menu > Import.
  6. Select “AFL UTM Tracker – Google Consent Mode.tpl” file.
  7. Save.
GTM Templates > New
GTM Templates > New
GTM Template > Import
GTM Template > Import
GTM Template > AFL UTM Tracker - Google Consent Mode
GTM Template > AFL UTM Tracker – Google Consent Mode

Adding Tag

  1. Under Tags > New.
  2. Name the tag ‘AFL UTM Tracker – Google Consent Mode’.
  3. Tag Configuration > Choose tag type > Custom > AFL UTM Tracker – Google Consent Mode.
  4. Set Required Consent field.
    • Select ‘analytics_storage’ if you are collecting the user’s UTM report for statistics purposes.
    • Select ‘ad_storage’ if you are collecting the user’s UTM report for marketing purposes.
  5. Under the Triggering section:
    • Choose Trigger > Consent Initialization – All Pages.
  6. Save.
  7. Publish your workspace update.
GTM > Tags > New > Choose Tag Type
GTM > Tags > New > Choose Tag Type
GTM > Tag > AFL UTM Tracker > Set Required Consent
GTM > Tag > AFL UTM Tracker > Set Required Consent
GTM > AFL UTM Tracker > Triggering
GTM > AFL UTM Tracker > Triggering