Skip to main content

How to exclude a page from statistics

Once the tracking code is installed, Vantevo Analytics will track all the pages of your website by default. If you do not intend to trace a specific page, you will need to remove the code from that page manually. To exclude a page means that the views of that page will no longer be counted by Vantevo, from the moment of exclusion, while you can take advantage of the previous statistics related to that page.

Custom events on the excluded page will continue to be tracked.

If you can’t delete the tracking code from a specific page, the exclusions can be activated by configuring the data-param-exclude parameter. Visit the Parameters for Advanced Measurements page. Here are some examples of page exclusion.

This table shows some examples of page exclusion:

PathnameDescription
/about-uswill be excluded from the statistics only this page /about-us and NOT /altro/about-us or /about-us/altro
/blog/*will be excluded from the statistics all the pages starting with /blog/<more>/, <more> means everything with at least one character up to the first /, for example: /blog/recipes/ is correct, /blog/, /blog/recipes/sushi, /blog/recipes/sushi/salmon is not correct
/come-fare-*will be excluded from the statistics all the pages starting with /how-to-do-<more>, <more> means everything with at least one character up to the first /, for example: /how-to-do-a-sushi-dish is correct, /how-to-do-a-sushi-dish/italy is not correct
/blog/** will be excluded from the statistics all pages starting with /blog/<more>/, <more> means everything with at least one character, for example: /blog/recipes/, /blog/recipes/sushi, /blog/recipes/sushi/salmon is correct, /blog/ is not correct
/blog/*/sushiwill be excluded from the statistics all pages starting with /blog/<more>/sushi, <more> means everything with at least one character, for example: /blog/recipes/sushi is correct, /blog/recipes/italy/sushi, /blog/recipes/sushi/italy or /blog/recipes/ is not correct
/blog/*/* will be excluded from the statistics all the pages starting with /blog/<more>/<more>, <more> means everything with at least one character, for example: /blog/recipes/sushi is correct, /blog/recipes/italy/sushi, /blog/recipes/sushi/italy or /blog/recipes/ is not correct