Skip to main content
menu_icon.png

 

x
Optimizely Knowledge Base

Integrate with Google Tag Manager's Data Layer (and push data to Google Analytics and other tags)

THIS ARTICLE WILL HELP YOU:
  • Integrate Google Tag Manager to receive experiment data from Optimizely
  • Add Google Tag Manager's integration code to your pages
  • Set up forwarding of your experiment data to any tag you load through Google Tag Manager, such as Google Analytics.

Google Tag Manager offers a Data Layer for any visitor-related events and attributes. This integration will enable you to push all running experiments and variations a visitor is part of to their Data Layer. In Google Tag Manager, you can then use this data in any tag you want (e.g. Google Analytics, Facebook Retargeting, call tracking tools).

Add the integration code to your page and test the integration