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

Disable default trackPageView with the document title on route change #106

Open
CaioSilvaDti opened this issue Jul 3, 2023 · 4 comments

Comments

@CaioSilvaDti
Copy link

Since I've configured my own page views, I want to disable this lib's default behavior of registering trackPageView with the document title on route change. How can I do that? It's affecting our reports.

@revolunet
Copy link
Member

there's no option to disable it at the moment, its the default behaviour.
One could add a trackPageViews option to disable it by configuration

@CaioSilvaDti
Copy link
Author

Could I do that? Because I think it is a simple implementation.

@revolunet
Copy link
Member

Yes you can 💪
Open to pull request. The trackPageViews should be on by default

@CaioSilvaDti
Copy link
Author

Here is my PR: #107

Can you review it?

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

2 participants