Not only track visits via Mixpanel but add tools to ease tracking of various promotional avenues.
allow users to add their mixpanel info to the config.yml
Implementation
UI
Add a popover to the admin page for each post. When clicking on it users would be presented with pre-generated tracking urls for the post in question for: twitter, facebook, google+, email, etc Twitter, Facebook, and G+ would all get "share on" icon buttons which did whatever was appropriate to share that url on that social network. Email could create an email with their default email client.
Configuration
Users should be able to create a list of sites to track sharing on via the config.yml Something like this:
There should be a javascript on every public-facing page that looks for our sharing parameters in the query string and creates a data structure to pass to Mixpanel with the appropriate parameters required to track how the visitor came to be at this post.
Not only track visits via Mixpanel but add tools to ease tracking of various promotional avenues.
allow users to add their mixpanel info to the config.yml
Implementation
UI
Add a popover to the admin page for each post. When clicking on it users would be presented with pre-generated tracking urls for the post in question for: twitter, facebook, google+, email, etc Twitter, Facebook, and G+ would all get "share on" icon buttons which did whatever was appropriate to share that url on that social network. Email could create an email with their default email client.
Configuration
Users should be able to create a list of sites to track sharing on via the config.yml Something like this:
Javascript
There should be a javascript on every public-facing page that looks for our sharing parameters in the query string and creates a data structure to pass to Mixpanel with the appropriate parameters required to track how the visitor came to be at this post.