Skip to content

Commit 22ad385

Browse files
committed
readme: update readme
1 parent 1d3ed4e commit 22ad385

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ plugins: [{
2727
serviceAccountEmail: process.env.ANALYTICS_EMAIL,
2828
privateKey: process.env.ANALYTICS_PRIVATE_KEY,
2929
property: process.env.ANALYTICS_GA4,
30-
startDate: `1970-01-01`,
30+
startDate: `2005-01-01`,
3131
endDate: `yesterday`,
3232
limit: 100,
3333
metric: `screenPageViews`,
@@ -56,9 +56,9 @@ required. it's your GA4 property id from Google Analytics Page.
5656
### startDate
5757

5858
optional. you can skip this option. it's based on Google Analytics date value. Could be '30daysAgo', 'today', '
59-
yesterday', or ISO date format (yyyy-MM-dd) like '2022-12-31'. Since v1.2.0 Default value is '2005-01-01' because
60-
Google Analytics 4 say so. If you still use version <= 1.1.0 you should upgrade to newer version or specify startDate in
61-
your gatsby-config.
59+
yesterday', or ISO date format (yyyy-MM-dd) like '2022-12-31'. Since v1.2.0 Default value is '2005-01-01' because new
60+
Google API changed it. If you still use version <= 1.1.0 you should specify 'startDate' in your gatsby-config or
61+
upgrade to newer version.
6262

6363
### endDate
6464

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "gatsby-plugin-google-analytics-data-reporting-api",
33
"description": "Reporting API for Google Analytics 4 (GA4)",
4-
"version": "1.2.1",
4+
"version": "1.2.2",
55
"main": "gatsby-node.js",
66
"author": "Ferry Suhandri",
77
"license": "MIT",
88
"dependencies": {
99
"googleapis": "^126.0.1"
1010
},
1111
"scripts": {
12-
"version": ""
12+
"postversion": "npm info"
1313
},
1414
"keywords": [
1515
"gatsby",

0 commit comments

Comments
 (0)