Analytics
3.2K members online now
3.2K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Experiment code is crashing my page

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi there 

just tried to run first AB test using experiment but every time I add experiment code to the page that page crashes. Nothing seems to be working once Tag Manager trigger this code. 

Hope you can help me with this issue 

 

 

2 Expert replyverified_user

Experiment code is crashing my page

Top Contributor
# 2
Top Contributor

Hi @Martin S,

 

It sounds like you could be adding the code in a way that is writing over some of web code for the page. Are you using a coded, HTML-based website or a WordPress or CMS (content management system) platform?

 

Are you adding the code directly to the webpage or using a tool or plugin to interact with it?

 

Kind Regards,

 

James

 

_________________________________________________________
Google AdWords Top Contributor | Google Partner | GYBO | Local Guide | My Profile


 


 


 

Experiment code is crashing my page

Top Contributor
# 3
Top Contributor

Hi Martin,

 

not a direct answer - but note that Google Optimize [1] which is far superior compared to Google Analytics Experiments regarding A/B testing will shortly be freely available. It will also come with native Google Optimize tags in Google Tag Manager [2].

 

Christoph

 

[1] https://analytics.googleblog.com/2016/09/an-easier-way-for-everyone-to-improve-the-customer-experien...

[2] http://www.periscopix.co.uk/blog/ab-testing-made-simpler-with-gtm-change/