Normally you install the script on all pages of your website. You add your script in the header or footer so you don’t have to copy it to every page. But sometimes you don’t want to record all pages on your website. That’s why we have a feature where you can ignore pages easily.
Let’s say you have pages that you want to ignore:
keywordkan be any keyword)
profilenamekan be any name)
https://example.com/vouchers(only one page)
Then you can define these with the
ignore-pages attribute in your embed script. Every page you want to ignore starts with a slash (
/) and is only the path after the domain name, not the full link. For
https://example.com/vouchers it would be
<script ignore-pages="/vouchers" src="https://scripts.simpleanalyticscdn.com/latest.js" />
If you have multiple pages you want to block you can separate them with a comma.
<script ignore-pages="/search/keyword,/account/@profilename,/vouchers" src="https://scripts.simpleanalyticscdn.com/latest.js" />
If you need to match a part of a string you need to add an wildcard asterisk (
*). To match
/search/2 you can use
/search/*. If you use
/search/ it will only ignore that page and still collects
To block all above pages you can use the following code:
<script ignore-pages="/search/*,/account/*,/vouchers" src="https://scripts.simpleanalyticscdn.com/latest.js" />
Need any help? We love to help you set up your script. Don’t hesitate to contact us. Silly questions don’t exist.