gatsby-plugin-google-analytics-data-reporting-api

Google Analytics GA4 Reporting API for GatsbyJS

MIT License

Downloads
840
Stars
6
Committers
4

Bot releases are hidden (Show)

gatsby-plugin-google-analytics-data-reporting-api - 2.0.1

Published by 7sferry 2 months ago

gatsby-plugin-google-analytics-data-reporting-api - 2.0.0.beta1

Published by 7sferry 2 months ago

What's Changed

Full Changelog: https://github.com/7sferry/gatsby-plugin-google-analytics-data-reporting-api/compare/1.3.0...2.0.0.beta1

gatsby-plugin-google-analytics-data-reporting-api - 1.3.0 Latest Release

Published by 7sferry about 1 year ago

changelog:

v.1.3.0

  • startDate & endDate should be specified on gatsby-config since Google changed its API validation often about range of valid startDate & endDate. Last time I check its minimum startDate was 2015-01-01. Also consider to use dynamic date range like 30daysAgo.

v1.2.0

  • change default startDate to 2005-01-01 (previously 1970-01-01) since Google changed its API validation.

v1.1.0

  • support more metric counter. Previously it's only support screenPageViews to count any view on pagePath including revisit from a user. If you don't specify it, it's still use screenPageViews as default view. Now you can specify specific metric like totalUsers to count distinct users, revisit from a user would not count. Or scrolledUsers to count distinct users who scrolled 90% of the page, so user who just visit without scrolling to the end of your page would not count. For more metric you can visit "https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics".

v1.0.0

  • first release to count screenPageViews metric per pagePath for Google Analytics 4.
Package Rankings
Top 22.31% on Npmjs.org
Related Projects