Analytics
5.2K members online now
5.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

Google Analytics Content Experiments Code in Google Tag Manager

Follower ✭ ✭ ☆
# 1
Follower ✭ ✭ ☆

Can I implement a GA content experiment code through GTM? I read the guide and it said to hard-code the code right after the opening header tag. Can I fire the code on experiment pages through GTM?

1 Expert replyverified_user

Google Analytics Content Experiments Code in Google Tag Manager

Top Contributor
# 2
Top Contributor

I wasnt able to find too much info in regards to setting up GA experiments in GTM
You might find the following two linked pages a helpful start point for you
https://www.simoahava.com/analytics/simple-split-test-google-tag-manager/

https://gist.github.com/simonvreeman/68cc8dc9266055bc4b07

Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here