Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude specific pages from being tracked #9

Closed
ymansurozer opened this issue Sep 13, 2023 · 3 comments
Closed

Exclude specific pages from being tracked #9

ymansurozer opened this issue Sep 13, 2023 · 3 comments

Comments

@ymansurozer
Copy link

Plausible allows excluding specific pages from being tracked. Is it possible to use that feature with this module? I did not see anything in the module options.

@johannschopplich
Copy link
Collaborator

Hi there! As mentioned in #7, @nuxtjs/plausible uses the plausible-tracker library under the hodd.
At the moment, pages exclusion doesn't seem to be supported by the official JS library and therefore not by this Nuxt module.

@Barbapapazes
Copy link
Contributor

Hey @ymansurozer, is there a documentation page about this? 👀

I'm forking the plausible tracker and we could resolve this!

@ymansurozer
Copy link
Author

Hey @Barbapapazes. There is no config for this as far as I can see. So I ended up using the original plausible-tracker library and creating a Nuxt plugin to watch the route and enable/disable page tracking per my needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants