Skip to content

Commit

Permalink
feat(gatsby-plugin-google-analytics): Added cookie storage option (#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliweer authored Jul 20, 2020
1 parent 531c21f commit 6523ca6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby-plugin-google-analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ This plugin supports all optional Create Only Fields documented in [Google Analy
- `legacyCookieDomain`: string
- `legacyHistoryImport`: boolean
- `allowLinker`: boolean
- `storage`: string

This plugin also supports several optional General fields documented in [Google Analytics](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#general):

Expand Down
1 change: 1 addition & 0 deletions packages/gatsby-plugin-google-analytics/src/gatsby-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const knownOptions = {
legacyCookieDomain: `string`,
legacyHistoryImport: `boolean`,
allowLinker: `boolean`,
storage: `string`,
},
general: {
allowAdFeatures: `boolean`,
Expand Down

0 comments on commit 6523ca6

Please sign in to comment.