Skip to content

1.3.0

Compare
Choose a tag to compare
@7sferry 7sferry released this 15 Oct 07:51
· 38 commits to main since this release

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 365daysAgo.

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.