Attention: Google Experiments A/B Testing cannot be used with GTM right now!

Attention: Google Experiments A/B Testing cannot be used with GTM right now!

Public Service Announcement, if you are using Tag Manager and are planning to run an A/B test, think again. I was disappointed to make a lot of changes and find out I need to undo them due to this. Hope google fixes the problem soon.


Hopefully, this will be changed soon and I can strike-through all of this.

  • agustin ferrari
    Posted at 16:47h, 30 August Reply

    Hey Neil, do you know why GTM and A/B testing don’t get along?

    • Neil Moree
      Posted at 16:53h, 30 August Reply

      No clue why they weren’t supporting it. We went ahead and began using Visual Website Optimizer. That is working out.

      • Sergio
        Posted at 22:20h, 10 September Reply


        Did you made any special changes to your VWO code to make it work with GTM?

        You are using the asycn version right?

        • Neil Moree
          Posted at 12:25h, 11 September Reply

          I am using GTM with VWO on another website and I made no changes to Tag Manager. I just setup the analytics ID inside of VWO and everything worked fine. However, I do have ongoing concerns on whether at some point we are going to have javascript conflicts. We have several third party tags on this site, VWO, and ClickTale to boot!

  • John
    Posted at 09:02h, 20 November Reply

    Hey Neil,

    Do you have further notes about using VWO in GTM?
    I tried to add it by using the HTML tag, but VWO did not recognize the code on my site.

    Is setting the Analytics ID inside VWO is required for VWO to work?

    • Neil Moree
      Posted at 17:56h, 20 November Reply

      The recommendation is to put the VWO script in the header or footer. Google Analytics scripts are inserted just after the opening body tag. I personally don’t think they are extremely compatible from what I’ve seen.

      We have opted to put the VWO script in the header hard-coded.

      And in regards to comparing versions between Google Analytics and VWO, we have given up on trying to match them up. There are too many differences in how conversions are identified and unique visitors are calculated, not to mention the time zones!

Post A Comment

Protected by WP Anti Spam