Integrating OptiMonk with Google Tag Manager

This guide may be useful for you in case, you installed your Google Analytics account via Google Tag Manager in order to measure the performance of your website. By following the instruction below, you will be able to monitor the performance of your campaigns within a special OptiMonk Dashboard for Google Analytics. 

 

In your admin dashboard on OptiMonk, you can easily configure your campaigns to report the following events to your Google Tag Manager account: shown, filled, close(x), no.

To get started, sign in to your OptiMonk account and do the following:

1. Choose the campaign that you want to report events to your Google Analytics account and click on it

2. Scroll to the last section which is Analytics and select Tag Manager 

3. Set “Tag Manager” next to “Which solution do you use to measure your traffic?”

5. Scroll to the top of the Campaign Settings page and click on Save.

6. Download the Tag Manager container, which is already created for you from here: https://www.optimonk.com/tag_manager/OptiMonk_Tag_Manager_Tags.json

7. Import the container to your Tag Manager 

Google_tag_manager1.png

 googletag_manager2.png

 

The following object will be added to your data layer when the popup actions – shown, filled, close(x), no – are reported:

{
    'OptiMonk action': action,
    'OptiMonk label': label,
    'OptiMonk category': category,
    'event': 'OptiMonk ' + action
}; 

where

  • category: OptiMonk
  • action: shown, filled, close(x), no
  • label: OptiMonk campaign name
Have more questions? Submit a request

Comments