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
- Login to your WordPress dashboard.
- Go to AFL UTM Tracker menu > Settings.
- Look for the Cookie Consent Integration section.
- Set Cookie Consent Integration: GTM / Manual
- Set Consent Category: Statistics or Marketing
- Save settings.
- Clear all page cache.
Welaunch WordPress GDRP Setup
- Go to the GDPR menu > Settings.
- Enable Google Consent Mode V2 Support: Checked
- 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
- Download our Google Tag Manager template.
- Login your Google Tag Manager dashboard.
- Go to your website’s container.
- Under Templates > New.
- Click the burger menu > Import.
- Select “AFL UTM Tracker – Google Consent Mode.tpl” file.
- Save.
Adding Tag
- Under Tags > New.
- Name the tag ‘AFL UTM Tracker – Google Consent Mode’.
- Tag Configuration > Choose tag type > Custom > AFL UTM Tracker – Google Consent Mode.
- 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.
- Under the Triggering section:
- Choose Trigger > Consent Initialization – All Pages.
- Save.
- Publish your workspace update.