plausible / plausible-tracker

Frontend library to interact with Plausible Analytics
https://github.com/plausible/plausible-tracker
MIT License
215 stars 50 forks source link

Respect localStorage.plausible_ignore #8

Closed rbange closed 3 years ago

rbange commented 3 years ago

It would be nice if this lib would support the opt out via local storage, as the js script does: https://plausible.io/docs/excluding

Detailed Description

Context

Possible Implementation

Similar to the localhost disabling?

cosminstefanxp commented 3 years ago

I've noticed this was just fixed in develop. Any plans for releasing this soon?

ukutaht commented 3 years ago

I don't think I can publish this on NPM. @Maronato can you do it or transfer the package to me so I can do it?

metmarkosaric commented 3 years ago

i believe i have the access, will send you a message

abridger commented 3 years ago

Hi folks, I just wondered if you had a rough estimate for when you might be able to release this? We'd really love to make use of it. Thanks!

ukutaht commented 3 years ago

Just published v0.3.2

ledermann commented 3 years ago

@ukutaht It seems to me that something went wrong with the release of v0.3.2. I installed the new package, but there is no localStorage handling in the code. The package on NPM seems to be an older or incomplete build: https://diff.intrinsic.com/plausible-tracker/0.3.1/0.3.2

rbange commented 3 years ago

Can confirm that the feature is does not work in release 0.3.2 not sure why though

ukutaht commented 3 years ago

Whoops, forgot to build before publishing. Can you try 0.3.4?

ledermann commented 3 years ago

Thanks, 0.3.4 works fine 👍

rbange commented 3 years ago

Can confirm 👍

abridger commented 3 years ago

Working nicely for us too. Thanks folks! :+1: