Log into Google Tag Manager and make sure you have selected the container associated with the site for which you want to install Mouseflow. If you have not created a Workspace for the environment you can simply create the new container. You can learn how to create your container here.

Click the "New Tag" button from your Overview

Click on the "Tag Configuration"

A list of different tag types will appear.

You have two options when choosing the tag type when installing Mouseflow with Google Tag Manager.

Important: Only use one of the following tag types for your Mouseflow installation

Configure a Mouseflow type tag

In the list of tags, you will see an option with the Mouseflow logo. Select it and you will be brought back to the tag configuration screen.

Tip: You can find the Mouseflow tag quickly by searching the list of tags

In the Project ID field paste the Website ID.

The Website ID can be found on your Website Settings page in Mouseflow (https://app.mouseflow.com/websites/settings).

Configure a Custom HTML type tag

In the list of tags, find the option labeled "Custom HTML".

Once selected, you will see a field to insert HTML code. Insert your Mouseflow tracking snippet here.

Tip: Using a Custom HTML tag allows you to add many useful customizations to the Mouseflow tracking snippet later on.

Set up triggering for your new tag

To do this, first click on the "Triggering" section.

The simplest setup is to select the All Pages option and Save. You can later manage which pages Mouseflow records from your Mouseflow account.

Google Tag Manager also offers a robust triggering system that can help you select exactly which users to record

Once you're done, click the "Save" button. You may be asked to rename your tag.

Publish your tag container

Now that you have made changes to your Google Tag Manager container, you will need to publish them.

You can publish your tags by clicking the "Submit" button from your Overview page in Google Tag Manager. Once, published, you are ready to start recording with Mouseflow.

Did this answer your question?