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

[ANNOUNCEMENT] Click Analytics #39

Closed
rohanb10 opened this issue Jun 12, 2021 · 2 comments
Closed

[ANNOUNCEMENT] Click Analytics #39

rohanb10 opened this issue Jun 12, 2021 · 2 comments

Comments

@rohanb10
Copy link
Owner

Starting with version 2.4.3, Snoozz will be collecting Click Analytics in the popup menu.

I am starting to collate the option you click when you a snooze a tab - "In One Hour", "Next Monday" etc. This will allow me to see which options are being used the most and help me make decisions in the future when creating new options.

No other data is gathered. I don't track what you are snoozing, location, your IP address, language, browser, OS. I am only here for a single string of click data.

All collected data is uploaded to my own server on the Snoozz website. I have written a tiny API (which is also open source), and you can view every single click on the Stats page. There is no data processing or anything happening behind the scenes, so the stats on that page will update almost instantly.

All the code for this change is located in a new file called /scripts/poll.js, but theres so little code so I'm also reposting it below. As you can see, I am only sending the choice you have selected, nothing else - not even a timestamp. You can check out

This poll(...) function is only called once from the background page /scripts/background.js. It is only triggered from the Snoozz popup /scripts/popup.js when you snooze (or edit) a tab/window. It is done in the background to ensure that the speed of the extension is not compromised. If you are offline at the time of snoozing no data will be transmitted - even when your re-connect later.

There is a new setting to toggle this on/off. It will be on by default.

I've never built something like this before so let me know if I've done something wrong.

@rohanb10 rohanb10 pinned this issue Jun 12, 2021
@ghobs91
Copy link

ghobs91 commented Jun 22, 2021

I appreciate the transparency and clarity!

@rohanb10 rohanb10 closed this as completed Mar 5, 2022
@ahmadawais
Copy link

This level of transparency is not only helpful but commendable. Thank you! 🙌

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

No branches or pull requests

3 participants