Skip to content

Commit

Permalink
added a cookieflags option (#25907)
Browse files Browse the repository at this point in the history
Co-authored-by: Thijs van Diessen <thijs.vandiessen@incentro.com>
  • Loading branch information
2 people authored and KyleAMathews committed Jul 29, 2020
1 parent 45a35f9 commit 4056fb1
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 @@ -138,6 +138,7 @@ This plugin supports all optional Create Only Fields documented in [Google Analy
- `alwaysSendReferrer`: boolean
- `allowAnchor`: boolean
- `cookieName`: string
- `cookieFlags`: string
- `cookieDomain`: string, defaults to `'auto'` if not given
- `cookieExpires`: number
- `storeGac`: boolean
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 @@ -8,6 +8,7 @@ const knownOptions = {
alwaysSendReferrer: `boolean`,
allowAnchor: `boolean`,
cookieName: `string`,
cookieFlags: `string`,
cookieExpires: `number`,
storeGac: `boolean`,
legacyCookieDomain: `string`,
Expand Down

0 comments on commit 4056fb1

Please sign in to comment.