-
Notifications
You must be signed in to change notification settings - Fork 262
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
Comments
This would not be great performance-wise (I just applied all the themes one by one to test them). What do you think? |
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.) |
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. |
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 |
The simplest way to track theme popularity would be to generate synthetic pageview events every time a user-initiated theme change is performed.
The text was updated successfully, but these errors were encountered: