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

Omit localhost tracking warning #39

Open
aspnetde opened this issue Jul 7, 2022 · 3 comments
Open

Omit localhost tracking warning #39

aspnetde opened this issue Jul 7, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@aspnetde
Copy link

aspnetde commented Jul 7, 2022

I would like to get rid of the console warning which is provided when tracking on localhost is disabled (*). Ideally it should be possible to disable it through the options. (Or the other way around, only allow it to enable it on purpose but disable it by default – but that would be a breaking change.)

Would a PR be appreciated here?

Thanks
Thomas

(*)

if (!data.trackLocalhost && isLocalhost) {

@aspnetde aspnetde added the enhancement New feature or request label Jul 7, 2022
@chulinguy
Copy link

I would love this as well, the [Plausible] Ignoring event because website is running locally warning is littered all over when I run our test suite on my machine

@Barbapapazes
Copy link

Hello,

Since this package have not been update for two years, I made a fork.

I rewrite the tracker to be more modular and I fix this issue.

https://github.com/Barbapapazes/plausible-tracker

@aspnetde
Copy link
Author

aspnetde commented Feb 3, 2024

Good to know @Barbapapazes, I will give your fork a shot soon.

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

No branches or pull requests

3 participants