gatsby-theme-gatstats icon indicating copy to clipboard operation
gatsby-theme-gatstats copied to clipboard

More metrics in dashboard

Open maxscience opened this issue 6 years ago • 4 comments

Would be nice to add some more metrics/viz like:

  • Most popular posts
  • Most popular tags (as in number of views)

maxscience avatar Dec 04 '19 15:12 maxscience

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?

PaulieScanlon avatar Dec 05 '19 07:12 PaulieScanlon

Sure, you could use

  • https://ga-dev-tools.appspot.com/dimensions-metrics-explorer/
  • https://www.gosquared.com/blog/visitors-currently-on-this-page

maxscience avatar Dec 05 '19 12:12 maxscience

@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.

PaulieScanlon avatar Dec 05 '19 13:12 PaulieScanlon

https://www.gatsbyjs.org/packages/gatsby-plugin-google-analytics

maxscience avatar Dec 20 '19 13:12 maxscience