gatsby-theme-gatstats
gatsby-theme-gatstats copied to clipboard
More metrics in dashboard
Would be nice to add some more metrics/viz like:
- Most popular posts
- Most popular tags (as in number of views)
Hey @maxscience this sounds like a good idea. I have thought about this but counting post views or votes/likes would require some kind of back end service. What would you suggest for a lightweight service to handle this kind of thing?
Sure, you could use
- https://ga-dev-tools.appspot.com/dimensions-metrics-explorer/
- https://www.gosquared.com/blog/visitors-currently-on-this-page
@maxscience to be honest, it would probably be good to integrate google analytics anyway. I'll add it to the list and investigate
perhaps in gatsby-config i could add an optional googleAnalyticsId to the config which can be used to ping off page views etc.
With regard to pulling the data back into the Dashboard i guess i'd need to look at making api calls on page load so the data stays up to date. Not something i've investigated in Gatsby before.
https://www.gatsbyjs.org/packages/gatsby-plugin-google-analytics