GTM Message Mate GA

Tag Manager Google Analytics Message Mate

How to connect Message Mate events to Google Analytics using Google Tag Manager

Pre-check list

  1. Is Message Mate installed and running on your site?
  2. Do you have a Google Tag Manager account? (Regardless of whether Message Mate is installed via Google Tag Manager)
  3. Do you have a Google Analytics account?


If you’ve answered “yes” to all of the above questions you’re ready to connect your Message Mate with Google Analytics.

  1. Download The GTM Message Mate script
  2. Sign in to your Google Tag Manager account and click Admin (just below and to the right of where it says Google Tag Manager)
  3. Under Container, click Import Container
  4. Click Choose Container File and select the Message Mate script file you just downloaded (called GTM-MessageMate.json, it will usually be saved in your Downloads folder unless you specified a different location)
  5. Choose a Workspace (new or existing) and then select Merge and Overwrite conflicting tags, as appears in the screenshot below, and click ContinueGTM Message Mate
  6. Make sure your screen looks like this before clicking Confirm
  7. If it does, click confirm
  8. After confirming the import, select the Workspace into which you imported the container and click Variables (located on the left-side menu bar)
  9. Scroll to the bottom of the page to the User Defined VariablesGoogle Analytics Message Mate Tag Manager
  10. Click the GoogleAnalyticsId variable to edit it. In the value field put your own Google Analytics ID (see screenshot). You can find your Google Analytics ID here. There is no need to change the Variable type
  11. Click the blue Save button on the top right
  12. Click the dark red Publish button on the top right

Still have questions? Text us at 650-825-1166 or email [email protected]

Ready to learn about the sort of Message Mate events you can track using Google Analytics? Head to our next blog post

Leave A Comment

Your email address will not be published. Required fields are marked *