Open aspnetde opened 2 years ago
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
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.
Good to know @Barbapapazes, I will give your fork a shot soon.
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
(*)
https://github.com/plausible/plausible-tracker/blob/294405cafc934ee666c1a295a5b2fd8737993ce2/src/lib/request.ts#L45