• Resolved khines

    (@khines)


    I’m having an issue with this plug-in where once you click “Yes” to verify your age my Google Analytics UTM strings are dropping once we enter the website.

    Example if I have abc.com?utm_source=test&utm_medium=test&utm_campaign=test as my current URL and the age verification comes up. You click yes and site directs to just abc.com dropping my UTM parameters keeping Google Analytics from parsing the UTM strings.

    Is there a setting or fix to keep the current URL with parameters once you click the Yes button to verify your age?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @khines,

    I don’t seem to be able to reproduce this in either Standard or JS mode of the plugin. Any parameters are staying put on my testing environment. Do you have any other plugins that could be updating the query parameter? Also what permalink structure are you using, and what age gate settings?

    A bit of an aside, but how are you adding the GA code as if it’s enqueued via the wp_enqueue_script it should still be on the page and tracking happening whether they are age gated or not.

    If you have a testing link you can send I’ll happily take another look at it.

    Thanks
    Phil

    Thread Starter khines

    (@khines)

    Hey Phil,

    I found the issue. The plugin version we were using was out of date. We were on version 1.4. We updated to current version and issue was resolved. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Dropping UTM Strings for Google Analytics’ is closed to new replies.