Skip to main content

Analytics

Integrate with Optimizely Data Platform using Google Tag Manager

Optimizely Data Platform

The Optimizely Data Platform (ODP) and Google Tag Manager (GTM) are powerful tools for collecting and analyzing data. ODP provides insights into customer behavior, while GTM simplifies managing marketing tags without modifying website code.

What is ODP: ODP allows businesses to collect, aggregate, and analyze data from various sources. It helps optimize marketing campaigns, enhance customer engagement, and drive business growth.

What is GTM?: GTM is a free tool that installs and manages marketing tags without changing website code. It simplifies tracking user actions and collecting data.

In this article we are going to explore simple integration to ODP through Google tag manager as connector. To integrate GTM with ODP, follow these two steps:

Integrating GTM with ODP – Step 1:

  • Create a GTM account at (https://tagmanager.google.com/ ) and set up a container in GTM
  • Include the GTM script/code in the application’s head section.

Picture1

Picture2

  • GTM works by creating Tags that performs/tracks activity based on a trigger.

Integrating GTM with ODP – Step 2:

  • Suppose you have a button on your homepage labeled “Join Us” and you want to track clicks in ODP.
  • Log in to GTM and create a new tag under the “Tags” section.Picture3
  • In the tag configuration section, select “Custom HTML” as the tag type and paste the ODP script code generated from the Optimizely ODP platform.
    • The ODP JavaScript can be fetched from ODP website as shown below at following path. –> Settings –>Integration –> Google Tag Manager –> JavaScript

Picture4

    • Note: The provided sample code tracks page views, but you can customize it to track button clicks or other events as needed. The ODP JavaScript code can be obtained from the ODP website under Settings -> Integration -> Google Tag Manager -> JavaScript.

Picture5

Picture6

 

  • Next, create a trigger for the tag. Go to GTM -> Triggers -> New and choose the trigger type (e.g., Click – All Elements).

Picture7

    • Specify the trigger details, such as using a CSS class click ID and setting the value as “login-button” (or any other unique identifier relevant to your site).

8 Css Class Dev Tools

9 Variables

    • Finally, associate the trigger with the tag you created.

10 Trigger Reference

  • Once the tag is published in GTM, all clicks on the specified button will be recorded in ODP.

11 Odp Report

 

Conclusion:

  • By utilizing the Optimizely Data Platform (ODP) in conjunction with Google Tag Manager (GTM),
    • Businesses can effectively collect and analyze data from various sources, gaining valuable insights into customer behavior and preferences.
    • GTM simplifies the process of installing, managing, and tracking marketing tags without the need to modify website code.
  • This seamless integration empowers organizations to make
    • Data-driven decisions,
    • Optimize marketing campaigns,
    • Enhance customer engagement, and ultimately drive business growth.

Thoughts on “Integrate with Optimizely Data Platform using Google Tag Manager”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Dileep Dubey

Dileep has been a software developer for over 15 years specializing in .NET development . He has worked with Optimizely CMS since 2019 and is a Senior Technical Consultant for Perficient. He is based out of Atlanta.

More from this Author

Categories
Follow Us
TwitterLinkedinFacebookYoutubeInstagram