Google Tag Manager

Learn how to load the Optinly javascript via the Google Tag Manager

It is very easy to add Optinly to your website. This guide walks you through the steps to use the Google Tag Manager to embed Optinly to your website.

  1. In your Workspace, click Add New Tag

3. Give it a Title

4. Click on the "Tag configuration" and choose the tag type as: Custom Html

5. From your Optinly dashboard -> Installation instructions, copy the Javascript and paste it into the Tag Editor

IMPORTANT: Make sure you check "Support document.write" checkbox. Otherwise, Optinly will not load

6. Click and Expand the "Advanced Settings". Choose the Tag firing options and set it to "Once per page"

7. Click on the Trigger configuration and choose "All Pages". Since you may have popups being used in different parts of the website, it is recommended to have this snippet loaded in all pages of your site.

8. Save the Tag

9. Publish your changes

That's all. You have now loaded the Optinly script via the Google Tag Manager

Next Steps

Last updated