Install Benson with Google Tag Manager

Add the Benson snippet as a Custom HTML tag in Google Tag Manager, publish the container, and verify.

Install
Updated 26 September 20261 min read
Jump to a section

If your store already runs Google Tag Manager, you can add Benson without touching your theme. These are the same steps the setup wizard shows.

Your snippet#

Your real snippet, with your site key, is in the setup wizard and under Settings → Install. It looks like this:

<script async src="https://cdn.trybenson.com/benson.js" data-site="pk_live_YOUR_SITE_KEY"></script>

Add the tag#

  1. In Google Tag Manager, open your container and click New tag.
  2. Choose Tag Configuration → Custom HTML.
  3. Paste the snippet into the HTML box.
  4. Set the trigger to Initialization – All Pages and save the tag.
  5. Click Submit, then Publish. Preview mode alone doesn't reach your shoppers.

Publish, don't just preview#

Tags only reach shoppers after Submit → Publish. Preview mode (Tag Assistant) shows the tag to you alone, and Benson ignores preview traffic, so the wizard won't verify until the container is published.

Prefer a template?#

The wizard also offers a Benson tag template for GTM (download it from the install step). It does the same thing with a site key field instead of Custom HTML.

If you use a consent management platform through GTM, keep the trigger on Initialization – All Pages and let Benson read consent itself: see Consent and storage. Don't block the tag behind consent, or Benson can't respect a shopper's choice correctly.

Stuck? Email [email protected].

Find out what's leaking. Free forever, no card.

Free forever up to 25,000 sessions a month. Every Pro feature free for your first 14 days. No card. We'll email you about getting started. Unsubscribe any time.