Support » Plugin: GA Google Analytics » How to install google optimize using this GA PLUGIN

  • Resolved ojohoogoofg

    (@ojohoogoofg)


    Hi , I want to implement google optimized in my website . So I was looking for a tutorial for do this . Using this GA PLUGIN . Can someone please explain me with pics or vídeo how to do this please . I am not sure what part of the code need to copy and paste in what section .

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help. Here are the steps to enable Optimize:

    1) Enable “Global Site Tag” for the Tracking Method option

    2) Enter the following code for the “Custom Tracker Objects” option:

    { 'optimize_id': 'OPT_CONTAINER_ID'}

    3) Replace OPT_CONTAINER_ID with your container ID

    4) Remember to save changes (click the big blue button near the bottom of the settings page)

    Done. You can verify the code by viewing the source code of your web page(s) and comparing with the Google docs.

    Thanks very much !!! It’s done !

    Sorry to but in here but even after entering the Custom Tracker, I am unable to use Optimize on my site. I can see the container ID inserted in my page source. I am using gtag.js in your plugin settings, and not the legacy code. I currently block Admin tracking. I get these two errors:

    1. Optimize plugin not found
    The web page page doesn’t have Optimize plugin for the container ID (GTM-KS7BJF7) installed. You can still use the visual editor to create variants but you can’t use Preview mode to test them and visitors won’t see your experiment. To run an experiment you must first install Optimize .

    2. Unsupported Analytics tracking code
    The page is tracked with the legacy Google Analytics (ga.js) tracking code which isn’t supported by Optimize. Update your Google Analytics tracking code to either analytics.js or gtag.js to use Optimize.

    Have created a new topic for this: https://wordpress.org/support/topic/google-optimize-not-working-errors/

    • This reply was modified 9 months, 2 weeks ago by hifunda.
    Plugin Author Jeff Starr

    (@specialk)

    Please do not multiple-post. Will respond to your new topic, thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to install google optimize using this GA PLUGIN’ is closed to new replies.