Skip to content

Commit 6523ca6

Browse files
author
Oliweer
authored
feat(gatsby-plugin-google-analytics): Added cookie storage option (#25831)
1 parent 531c21f commit 6523ca6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/gatsby-plugin-google-analytics/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ This plugin supports all optional Create Only Fields documented in [Google Analy
144144
- `legacyCookieDomain`: string
145145
- `legacyHistoryImport`: boolean
146146
- `allowLinker`: boolean
147+
- `storage`: string
147148

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

packages/gatsby-plugin-google-analytics/src/gatsby-ssr.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const knownOptions = {
1313
legacyCookieDomain: `string`,
1414
legacyHistoryImport: `boolean`,
1515
allowLinker: `boolean`,
16+
storage: `string`,
1617
},
1718
general: {
1819
allowAdFeatures: `boolean`,

0 commit comments

Comments
 (0)