How to set up OptiMonk reporting to Google Tag Manager?

This guide may be useful for you in case you installed Google Analytics 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. 

You can set up OptiMonk to report the following events to your Google Tag Manager account: shown, filled, close(x), no.

Please follow the below steps to set up the reporting for your Google Tag Manager account:

1. First, log in to your OptiMonk account at https://app.optimonk.com/login/en

2. Click on your icon in the bottom left corner, select Settings then Domains:

mceclip0.png

3. Select the domain you want to set up, then click on Tag Manager Container under How to configure Google Tag Manager with OptiMonk:

mceclip2.png

4. This will open a new browser window with the required information we need to import to Google Tag Manager. Click on the new browser window:

mceclip4.png

5. Press Ctrl + A to select all the text in the new browser window then right-click with your mouse and select Copy:

mceclip3.png

6. We need to save the selected text as a file. To do so, you need to create a new text document on your computer. Right-click in any folder, select New, then select Text Document:

mceclip7.png

7. Open the new Text Document, right-click inside the document and select Paste:

mceclip8.png
This will insert the text into the document.

8. To save the file, select File in the top menu then select Save:

mceclip9.png 
9. Open Google Tag Manager in a new window, and log in to your account. Select the website you want to use:

mceclip10.png

10. Select Admin on the top menu then select Import Container to import the text file we have created previously:

mceclip11.png

11.  Select Choose container file on the next page:

 mceclip12.png

12. Select the file we have created previously and click Open:

mceclip13.png

13. Select an import option (overwrite or merge) then decide if you want to create a new workspace or you want to import to an existing one:

mceclip14.png

14. Click Confirm to finalize the setup:

mceclip15.png

The following objects 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

That's it! :) If you have any further questions or need any additional help, just let us know at support@optimonk.com and we would be happy to assist you.

Have more questions? Submit a request

Comments