• Resolved Fran Sanchez

    (@fransanchezoria)


    Hi,

    I am trying to enable the new Google optimize (https://optimize.google.com/optimize/home/) and I am not able to. As per Google instructions I should insert:

    ga('require', 'GTM-XXXXXXX');

    right before:

    ga('send', 'pageview');

    I tried adding custom code in settings but it doesnt work. I also tried these variations:

    
    __gaTracker('require', 'GTM-XXXXXXX');

    and

    __gaTracker( function() {
      window.ga = __gaTracker;
    } );
    ga('require', 'GTM-XXXXXXX');

    None of these work. Can you please help

    • This topic was modified 8 years, 1 month ago by Fran Sanchez.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Fran Sanchez

    (@fransanchezoria)

    Anyone?

    Any feedback on this?

    Plugin Author chriscct7

    (@chriscct7)

    Putting the __gaTracker('require', 'GTM-XXXXX'); in the custom code section will work.

    We’ll also be offering a complete integration with the Optimize page-hiding feature in an upcoming update of the Performance addon

    -Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Enable Google optimize’ is closed to new replies.