Support » Plugin: CAOS | Host Google Analytics Locally » Integrating with Google Optimize

  • Resolved sjsdigital

    (@sjsdigital)


    Hey there,

    Love COAS for Google Analytics and am now trying to integrate Google Optimize so I can A/B test my pages.

    However, I’m not sure how / where I can insert my Google Optimize snippet?

    Is there a way I can get COAS to automatically insert this snippet along with my analytics snippet?

    Here is some more background info about the snippet:
    https://support.google.com/optimize/answer/9183119?authuser=1

    Many thanks,
    Stuart

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Hi Stuart,

    Are you a WP dev, by any chance? Because I’ve added hooks in the code, exactly for this type of modifications. Using a custom plugin and add_filter() you can modify gtag’s config block anyway you like!

    You know what? I should write a tutorial on this sometime.

    Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Hi Stuart,

    Sorry for the delay, but I published a post yesterday explaining how to integrate Google Optimize with CAOS.

    Enjoy! 🙂

    sjsdigital

    (@sjsdigital)

    Hey Daan,

    Thanks so much for the tutorial, especially since the extent of my dev skills are copying and pasting!

    Cheers,
    Stuart

    • This reply was modified 7 months ago by sjsdigital.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Integrating with Google Optimize’ is closed to new replies.