AFL UTM Tracker Documentation

  1. Home
  2. Docs
  3. AFL UTM Tracker Documentation
  4. Cookie Consent Banner Integration
  5. Cookie-Script Integration

Cookie-Script Integration

Our AFL UTM Tracker plugin now has native integration with the Cookie-Script plugin.

Our plugin cookies will be created or deleted based on the visitor’s consent or whenever the consent changes.

Minimum Requirements

  • AFL UTM Tracker v2.14.13
  • Cookie-Script v0.7.0

Steps

For the AFL UTM Tracker plugin:

  1. Go to your WordPress admin dashboard.
  2. Go to the AFL UTM Tracker > Settings page.
  3. Scroll to the Cookies > Cookie Consent Integration section.
  4. Select the Cookie Consent Integration dropdown to ‘Cookie-Script’.
  5. Set the Cookie Consent Category to either ‘Statistics’ or ‘Marketing’.
  6. Save Settings.
  7. Clear all page cache.
  8. Continue to the next step below.

Take note of the Cookie Domain value (highlighted below) which will be used as the Domain value in the next step.

Take note of the Attribution Window value (highlighted below) which will be used as the “Expiration time” value the next step.

AFL UTM Tracker > Settings > Cookie-Script
AFL UTM Tracker > Settings > Cookie-Script

For the Cookie-Script:

  1. Login to your Cookie-Script account (cookie-script.com).
  2. Go to your Site > Cookies.
  3. Click on the “+ Add new cookie” button.
  4. After you have added all cookies, click on the Save button at the top.

How to fill in the “Add new cookie” form?

  • Cookie Key: Copy the Cookie Name from our list above.
  • Domain: Copy the Cookie Domain value from your plugin setting above.
  • Expiration: Follow the Attribution Window value from your plugin setting above.
  • Secure: Tick the box.
  • Category: Based on the Cookie Consent Category from your plugin setting, select Performance for Statistics or Targeting for Marketing.
  • Description: Copy the Cookie Purpose from our list above.
Cookie-Script.com > Cookies
Cookie-Script.com > Cookies
Cookie-Script > Add new cookie
Cookie-Script > Add new cookie