AFL UTM Tracker Documentation

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

CookieYes Integration

Our AFL UTM Tracker plugin now has native integration with the CookieYes.

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

Minimum Requirements

Steps

You will need to use the CookieYes WordPress plugin because CookieYes JavaScript API is only available through the plugin.

For the AFL UTM Tracker plugin:

  1. Go to your WordPress admin dashboard.
  2. On the side menu, browse to the AFL UTM Tracker > Settings page.
  3. Scroll to the Cookies > Cookie Consent Integration section.
  4. Select the Cookie Consent Integration dropdown to ‘CookieYes’.
  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.
Cookie Consent Integration - CookieYes
Cookie Consent Integration – CookieYes

For the Cookieyes:

  1. Login to your CookieYes account (cookieyes.com).
  2. Go to your Site > Cookie Manager.
  3. Depending on the Cookie Consent Category you have selected above:
    • For Statistics, select the ‘Analytics’ tab in CookieYes.
    • For Marketing, select the ‘Advertisement’ tab in CookieYes.
  4. Then click on the “+ Add Cookie” button.
    • Cookie ID: afl_wc_utm_*
    • Domain: Your domain
    • Duration: Refer to the Attribution Window value.
    • Script URL Pattern: Leave blank
    • Description: Tracks the visitor’s first landing pages, first website referrer, UTM parameters and click identifiers for the purpose of conversion attribution.
  5. Go under the Uncategorized tab.
    • Delete any cookies that begins with afl_wc_utm_
    • e.g afl_wc_utm_main, afl_wc_utm_sess_landing, afl_wc_utm_utm_1st_url, afl_wc_utm_utm_url
  6. Click on the ‘Publish changes’ button.
Cookieyes > Cookie Manager
Cookieyes > Cookie Manager