Making Plausible exclude your own mobile browser visits
Here's how to stop Plausible Analytics from counting your own visits made using mobile devices. Hint: use a bookmarklet.
Table of contents
localStorage.plausible_ignore = true in the browser's console
to start excluding your own visits.
We need to set the
localStorage item mentioned in the previous section.
You could try pasting the following code to the browser's URL bar and then executing it by "visiting" the URL:
It's the same code as the code that should be run on desktops,
but prefixed with
But it hasn't worked on my iOS device. I don't know about Android devices; you could try.
A bookmark with the location set to a
is a bookmarklet.
create a browser bookmark
with the location set to the code from the previous section,
and then run it.
- How to create a bookmarklet in iOS Safari. Then run it by "opening" the bookmark/bookmarklet.
- How to create and run a bookmarklet in Android Chrome.
Note that iOS Firefox doesn't support bookmarklets.
I confirmed that the bookmarklet worked by looking at the analytics; my own visits from my iPad were not counted anymore.