Installing Usermaven script using Google Tag Manager (GTM)
If you are using Google Tag Manager to install 3rd party scripts to your website, you can use it to install Usermaven's tracking script too.
Here's the step-by-step process you need to follow:
Open your Google Tag Manager (opens in a new tab) account and navigate to the desired workspace/container that is integrated with the website you want to track with Usermaven.
Click on 'Add a new tag' option.
On the page to configure a new tag,
Give your tag a name
Add your Usermaven tracking script as a 'Custom HTML Tag' under 'Tag Configuration'.
For the trigger, select the default "All Pages - Page View" trigger and then click 'Save' on the top right corner of the screen. Watch Google Tag Manager integration with Usermaven here (opens in a new tab)
Back on the main dashboard, click 'Submit' to update your website with the new Usermaven tag you just created.
Then click on the 'Publish' button
To confirm Usermaven is configured correctly, visit your website and then check if the events from your session appear in Useramven. Note that this may take a few minutes.
As Usermaven is so simple and lightweight, we've made it easy to integrate and begin tracking website visitors. The aforementioned steps will ensure that Useramven and GTM work together flawlessly.
However, If you plan to use any of the more advanced features that GTM provides, please be sure to check and test the tracking. Using GTM, you can select tag firing priorities, firing options, tag sequencing, and much more. If you deviate from the basic setup by adding any of the extras, the Usermaven script's capacity to load and track your visitors may be compromised. It is best to have in-house knowledge and experience with GTM if you wish to utilize the more advanced systems.
Many browsers and browser extensions, including Brave, Firefox, and Safari, block the GTM script. This implies that a portion of your visitors will also be blocked from being tracked if you install Usermaven using GTM.
You will receive more accurate numbers if you install Usermaven without GTM because Usermaven integrated without GTM or by using our pixel white-labeling will be blocked by fewer people.