Exclude your own visits
The Tracking Exception prevents your own browser visits from being recorded for a project. This is useful if you frequently work on your website and want to keep those visits out of your analytics.
Open the Project Manager using your owner account, select the project and open Tracking Exception. You will find the prepared tool and project-specific code there.
Where the exception applies
The exception is set in browser local storage on your website. It applies only to that project, browser and browser profile on that device. Other visitors are still recorded.
The website address must match: https://example.com, https://www.example.com and http://example.com have separate storage areas. Different ports also have separate areas. Running the code in the manager, app or documentation therefore does not set an exception for your website.
The exception suppresses new browser events, including page views and goal events. It does not delete existing data or recall requests already sent. This browser switch does not disable server-side PHP crawler tracking.
Use the Tracking Exception Tool
- Under Tracking Exception, choose Download HTML file.
- Upload the file to your website, for example to its root directory. It must be accessible through the same website address whose visits you want to exclude.
- Open the file in the browser on the device you want to exclude, for example at
https://example.com/trafficinsight-tracking-exception-12345.html. Use the actual filename from your download. - Choose Tracking deaktivieren (disable tracking). The downloaded tool currently uses German button labels.
- Return to a normal page on your website and fully reload it.
Open it through your website
Double-clicking the downloaded file opens it locally and does not set an exception in your website's storage. Open the uploaded file through its website URL.
You can then remove the file from the server. The exception remains stored in the browser. To undo it with the tool, upload the file again if necessary and choose Tracking aktivieren (enable tracking). Then fully reload the normal website page.
The tool's status message shows the local project switch. It does not check project status, installation, the banner or successful data transmission.
Alternatively, use the prepared code
Copy the code under Code to exclude tracking in the manager. Run it once in the intended browser in the context of your website, for example in its developer console.
The principle looks like this. Replace YOUR_PROJECT_ID with your project's ID if using this example:
localStorage.setItem('ti_optout_YOUR_PROJECT_ID', '1');To undo the exception, copy the prepared code under Re-enable tracking. The corresponding example is:
localStorage.removeItem('ti_optout_YOUR_PROJECT_ID');Fully reload the website page after setting or removing the exception. In particular, continuing to click within an already open page after removing it is insufficient: the tracker may never have started on that page because of the earlier exception.
Add a status display to your website
Under Show tracking status, the manager provides an HTML placeholder and a JavaScript snippet. Copy both parts: place the placeholder where you want the message and the script before the closing </body> tag as instructed.
The display indicates an exception set in the browser and remains empty without one. An empty display does not confirm working data collection. Use the Installation Guide for the actual installation test.
Common questions and problems
| Situation | What to check |
|---|---|
| Your own visits are still recorded | Check the project ID, website address, browser and profile. Set the exception before testing and fully reload the website. |
| The exception does not apply on your phone | Set it in that browser too. Signing in with the same account does not transfer it. |
| Visits are recorded again after clearing website data | Clearing data can remove the exception too. Set it again. Private profiles and blocked browser storage are not reliable permanent storage. |
| No data arrives after undoing the exception | Reload the website. Also check the banner decision, project status and installation. A previously set general ti_optout switch can still block tracking after the project exception has been removed. |
| Only one specific page should disappear from individual analytics | Use page management. Disabling a page there and excluding one browser have different effects. |
For a functionality test, use a browser without an active exception or temporarily remove it there. See Troubleshooting for other causes of missing data.