Skip to main content
All CollectionsIntegrations
Google Analytics 4 Integration - GTM Installation
Google Analytics 4 Integration - GTM Installation
Charley Bader avatar
Written by Charley Bader
Updated over 2 months ago

Our in-platform integration is currently available for customers who have GA4 implemented directly on their site. If you've set up GA4 through GTM, this guide is for you!

  1. Download the attached JSON file.

  2. Open your GTM container and go to ‘Admin’ > ‘Import Container.’

  3. Click ‘Choose container file’ and select the JSON file you downloaded in step 1.

  4. Select ‘Default Workspace’ and choose the workspace you want to import this into, or create a new one.

  5. Under ‘Choose an import option,’ select ‘Merge’ (there should be no conflicts)

  6. It should now look like this:

  7. Click the blue ‘Add to workspace’ button.

  8. Go to the tag labeled ‘MWI - GA4 - Intent Pageview Events’ (shown below) and update the Measurement ID from ‘G-XXXXXXXXXX’ to your own. If you're unsure of your Measurement ID, follow these steps. If you want to limit the number of events sent to GA4, we recommend setting the tag firing options to ‘once per page.’

  9. Your GA4 events will now trigger with each intent inference. Once everything is set, you can publish the container.


Your integration is now set-up! Don’t forget to configure your Custom definitions in GA4, here's more on how to set these up.

Did this answer your question?