Adding RightMessage to Google Tag Manager

If you're using Google Tag Manager (GTM), getting RightMessage up and running on your website is ridiculously straightforward.

But first, a heads up about a potential gotcha...

Here's the thing: if you're planning to use RightMessage to personalize content that's already on your site (using our Visual Editor), you might run into some annoying "flicker" issues with content near the top of your pages. Let me explain why this happens.

When you add our tracking script directly to your website, it includes some clever CSS that keeps your above-the-fold elements hidden until RightMessage has done its personalization magic. But when you load through GTM? That CSS doesn't show up until: 1) GTM loads, and then 2) GTM loads our script. That delay? That's your flicker.

The bulletproof fix is to load our script directly (skip GTM entirely). But if you're just using RightMessage for on-site Flows, you're golden—no flicker issues to worry about.

Here's what we're going to accomplish together:

  1. Create a new Tag in GTM with your unique RightMessage tracking script
  2. Set up a Trigger for when this tag fires (usually on every page load)
  3. Publish your shiny new tag
  4. Verify that RightMessage can see everything's working

Ready? Let's do this.

Step 1: Create Your RightMessage Tag in GTM

First things first—head to your Google Tag Manager dashboard.

Click on Tags in the sidebar to see all your existing tags.

Now we're going to create a new Tag. This is the bit of code that'll add your RightMessage tracking script to every page on your site.

Give your tag a name that makes sense (I'd go with "RightMessage"—why overcomplicate things?). Then click the tag configuration area to get started.

When the tag type menu pops up, choose Custom HTML.

In the HTML field, paste your RightMessage tracking script. That's it—nothing fancy needed here.

Can't find your tracking script? No worries—here's where to grab it.


Step 2: Tell GTM Where to Fire This Tag

You've got your Tag set up, but now you need to tell GTM when to actually use it. This is where Triggers come in.

Click on the Triggering section below your tracking script.

For most folks, you'll want to select "All Pages" as your trigger.

(Quick note: If you only want RightMessage on certain parts of your site, you'll need a custom trigger instead. GTM has solid docs on this.)

Perfect! You've now got a Tag with your RightMessage script and a Trigger that'll fire it on every page. Time to save your work.

But here's the kicker—just hitting "Save" doesn't actually push this live to your website. (I know, GTM can be a bit counterintuitive here.)

To actually publish your changes, click the Submit button in the top right.

Give your version a descriptive name (something like "Added RightMessage tracking") and add any notes that'll help you or your team remember what you did. Then hit Publish.

Step 3: Verify Everything's Working

Almost there! Now let's make sure RightMessage can actually see your script.

From your RightMessage dashboard, click the settings cogwheel and check Snippet Health.


If everything went according to plan, you'll see a green checkmark confirming RightMessage found your tracking script. You're all set!

Running into issues? We've got a handy guide covering common setup problems and their fixes. Or just shoot us an email—we're here to help.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us