PopupBuilder.io

How to Connect OptiMonk with Google Tag Manager

Emel DalabasmazUpdated August 23, 20262 min read

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

  1. Log in at app.optimonk.com/login/en.
  2. On the Dashboard, open the step that asks you to embed the OptiMonk code.
  3. Choose Google Tag Manager as the install method (or pick it after you select the domain).
  4. Copy the unique JavaScript.

You can also reach the snippet later from Profile → Settings → Insert code.

Add it in Google Tag Manager

choosing container name for the GTM and OptiMonk integration
  1. Open GTM and select the container for that site.
  2. Add a new Tag.
  3. Tag ConfigurationCustom HTML.
  4. Paste the OptiMonk snippet.
Adding custom HTML for the integration of OptiMonk and GTM integration
  1. TriggeringAll Pages.
Choosing triggering as All Pages on colorful background
  1. Save.
  2. Submit, name the version, Publish.
choosing Version name as descriptive name and choosing 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

Emel Dalabasmaz
Emel Dalabasmaz

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