For this purpose, the following code snippet can be simply added to your integration code in Composer or on your website.
JavaScript
tp.push([
'setPageURL',
[location.protocol, '//', location.host, location.pathname].join(''),
]);
For example:
Now, when you add any query string or hash symbol to the URL and refresh the page, the meter won't increment.