Platform Guide

How to Install 100Widgets on Google Tag Manager

Deploy site-wide widgets without touching website source code using GTM. Follow this simple guide to copy and paste any 100Widgets interactive component into your Google Tag Manager website.

Installation Steps

1

Create a Custom HTML Tag in GTM

In your GTM Container workspace, go to Tags > New. Click 'Tag Configuration' and select 'Custom HTML'.

2

Paste your 100Widgets snippet

Paste the 100Widgets script tag into the HTML code box.

<script src="https://100widgets.com/js.php?id=303"></script>
3

Set Triggering to 'All Pages'

Click 'Triggering' below the configuration and choose 'All Pages' (Page View / DOM Ready / Window Loaded).

4

Submit and Publish container

Click 'Save', test with GTM Preview mode, then click 'Submit' > 'Publish' to deploy the tag to your live site.

Tips for Google Tag Manager

  • Ideal for floating widgets like Cookie Consent, Floating Contact Buttons, Announcement Bars, and Progress Trackers.
  • You can set trigger exceptions (e.g. exclude on /checkout or /admin URLs).

Frequently Asked Questions

Can I deploy inline widgets via GTM?

Inline widgets need a target container DOM element. For inline widgets, Mode A (`<div data-widget="..."></div>`) can be injected via custom JavaScript if the target element exists in your page markup.

Other Installation Guides

Install on HTML / Any Site → Install on WordPress → Install on Shopify → Install on Wix → All 18 Guides →

Ready to customize a widget? Explore the 100Widgets Catalog.