How to Connect OptiMonk with Google Tag Manager
You still install OptiMonk through Google Tag Manager as a Custom HTML tag on All Pages. The copy-code step now starts on the OptiMonk dashboard embed prompt, not a left-menu Insert code link. OptiMonk's GTM article (3 January 2026) is the source for the steps below.
If the site is Shopify, Magento, WooCommerce or WordPress, use the native app or plugin instead. GTM works on those platforms, but you lose cart rules. OptiMonk says so in that same article.
Copy the OptiMonk snippet
- Log in at app.optimonk.com/login/en.
- On the Dashboard, open the step that asks you to embed the OptiMonk code.
- Choose Google Tag Manager as the install method (or pick it after you select the domain).
- Copy the unique JavaScript.
You can also reach the snippet later from Profile → Settings → Insert code.
Add it in Google Tag Manager

- Open GTM and select the container for that site.
- Add a new Tag.
- Tag Configuration → Custom HTML.
- Paste the OptiMonk snippet.

- Triggering → All Pages.

- Save.
- Submit, name the version, Publish.

A tag that is saved but not published does nothing on the live site. That is the usual miss.
Check that it loaded
On Chrome, open the site, press F12, go to Console, type OptiMonk. If the object is there, the snippet ran.
No impressions after that: the campaign may still be Inactive, targeting may exclude you, or the pageview cap is spent. See how to activate a campaign.
GTM is one install path. Native plugins and a manual <head> paste are the others. Help archive: OptiMonk integrations.
Written and reviewed by

SEO Executive at Flatart
Emel Dalabasmaz graduated in Advertising and Public Relations from Anadolu University. She began in social media and carried that grounding — content, brand communication and performance — into SEO. For more than ten years she has worked on growth for brands across a range of industries, pairing a communications perspective with data and technical analysis to build a digital presence that holds up over time.
- Education
- Advertising and Public Relations, Anadolu University
- Writes about
- Popup builders, Conversion rate optimization, On-site messaging, SaaS pricing research, SEO, Technical SEO, Content strategy, Digital marketing

