• Hoping you can help me out. I noticed the word “disable” in my page source and was wondering if maybe things are set-up incorrectly in my plug-in. I read a couple of threads on the forum, but most of it is way over my head.

    I’m hoping you can explain if the code (from looking at it below, hopefully I have copied what is important) is set correctly to track our code on our website, and to outbound links receiving clicks from our website.

    Thank you for any help or guidance you can give me.

    <script type=”text/javascript” data-cfasync=”false”>

    var disableStr = ‘ga-disable-UA-XXXXX-Y’;

    /* Function to detect opted out users */

    function __gaTrackerIsOptedOut() {

    return document.cookie.indexOf(disableStr + ‘=true’) > -1;


    /* Disable tracking if the opt-out cookie exists. */

    if ( __gaTrackerIsOptedOut() ) {

    window[disableStr] = true;


    /* Opt-out function */

    function __gaTrackerOptout() {

    document.cookie = disableStr + ‘=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/’;

    window[disableStr] = true;

    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

    __gaTracker(‘create’, ‘UA-XXXXX-Y’, ‘auto’);
    __gaTracker(‘set’, ‘forceSSL’, true);

  • The topic ‘ga-disable-UA-XXXXX-Y’ is closed to new replies.