Note: This article requires you to have installed Google Tag Manager


If you have a website, www.example.com, with pages that uses query-strings, for example


- www.example.com/blog?blogID=1459 

- www.example.com/news?newsArticle=564 

- www.example.com/shop?category=men&item=shirt 


and you only wan't to record pages that matches certain query-strings, then this article is for you.



Create a new trigger in Google Tag Manager

A. Login to your account here: https://tagmanager.google.com/ 

B. Click on the website, where you'd like to setup the trigger

C. Click on "Triggers"

D. Click on "New"




Set the trigger

A. Give the new trigger a name

B. Setup a condition for the trigger

C. Save the trigger


D. If you have more pages with certain query-strings, you'd like to track, then simply repeat step A-C.

Note: If you have more pages with certain query-strings, you'd like to track, then simply repeat step A-C




Connect the trigger with the Mouseflow tag

A. Navigate to the tag overview and click on the Mouseflow installation tag


B. Click on the trigger area

C. Add any or all of the triggers you want to the Mouseflow Tag.


D. Remember to Save 

The desired Mouseflow page-tracking should now be correctly setup in Google Tag Manager.