You can set up Mouseflow to record pages based on the query-string, URL fragment, or other parameters with some additional code to your tracking snippet. Just add the relevant code snippet to the top of your tracking snippet just after the opening <script> tag.

If you would like to record users based on the query-string

var mouseflowPath = window.location.pathname + window.location.search;

If you would like to record users based on the hash

var mouseflowPath = window.location.pathname + window.location.hash;


If you would like to record users based on either or both

var mouseflowPath = window.location.pathname + window.location.search + window.location.hash;

Once this code is added, you will be able to set up the "pages to record" rules to include the query-string and/or hash fragment portions of the URLs.

Did this answer your question?