How to Connect OptiMonk with Google Tag Manager

The cover of OptiMonk and Google Tag Manager integration with their logos and 'How to Integrate' title

To install OptiMonk via Google Tag Manager, follow these steps:

1. Log in to your OptiMonk account.

2. On the left menu, select Insert code and click Copy.

3. Log in to your Google Tag Manager account and select the website on which you want to implement OptiMonk.

choosing container name for the GTM and OptiMonk integration

4. Click Add a new Tag on the Overview of GTM.

5. Under Tag Configuration, select Custom HTML.

6. Paste the OptiMonk code you copied earlier into the HTML box.

Adding custom HTML for the integration of OptiMonk and GTM integration

7. Click on Triggering and select All Pages. Make sure the box is ticked, then click Add on the right.

Choosing triggering as All Pages on colorful background

8. When you are done, click Save in the top left corner.

9. Click Submit to finish the setup.

10. Give a name to the changes and click Publish in the top right corner.

choosing Version name as descriptive name and choosing Publish

To check if the OptiMonk code has been implemented on your website, open your website in Google Chrome, press F12, select Console view, click in the white text box, and type "OptiMonk."

If you see results for OptiMonk, the integration was successful.

Best Popup Builder Directory

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.