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

Track theme popularity #50

Open
paracycle opened this issue Jan 5, 2016 · 4 comments
Open

Track theme popularity #50

paracycle opened this issue Jan 5, 2016 · 4 comments

Comments

@paracycle
Copy link
Owner

The simplest way to track theme popularity would be to generate synthetic pageview events every time a user-initiated theme change is performed.

@quentin-st
Copy link

This would not be great performance-wise (I just applied all the themes one by one to test them).
We could track #sidebar_theme_custom input (the ones with the colors codes to copy-paste into Slack) focus event, or even better, detect Ctrl+C event when this input is focused.

What do you think?

@craigotis
Copy link

I think a button to the right of the copy-paste area, titled "I'm using this!" would let folks opt-in to the tracking, alleviate any significant performance hit, and make the counts fairly trackable. (Multiple copy-pastes wouldn't count, but multiple clicks would, unless you do unique-by-IP filters, etc.)

@paracycle
Copy link
Owner Author

Yeah both of these suggestions are great, but I am trying to limit the set of options to ensure that the site stays "serverless", i.e. doesn't need a backend. So, in either case, I will need to find a way to send analytics data to a datastore like Google Analytics, or something like it.

@FrontEndCoffee
Copy link
Contributor

It's been a while since the last update in this issue, but I could give this a shot.

I would suggest we use the Event Tracking feature in Google Analytics. If you want I can draw up a PR

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

4 participants