Skip to content

Commit

Permalink
fix(gatsby-plugin-google-analytics): add optional options to options …
Browse files Browse the repository at this point in the history
…schema (#27914)
  • Loading branch information
mxstbr authored Nov 9, 2020
1 parent 34bf36b commit 3cdf29f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/gatsby-plugin-google-analytics/src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,20 @@ exports.pluginOptionsSchema = ({ Joi }) =>
sampleRate: Joi.number(),
siteSpeedSampleRate: Joi.number(),
cookieDomain: Joi.string(),
name: Joi.string(),
clientId: Joi.string(),
alwaysSendReferrer: Joi.boolean(),
allowAnchor: Joi.boolean(),
cookieName: Joi.string(),
cookieExpires: Joi.number(),
storeGac: Joi.boolean(),
legacyCookieDomain: Joi.string(),
legacyHistoryImport: Joi.boolean(),
allowLinker: Joi.boolean(),
storage: Joi.string(),
allowAdFeatures: Joi.boolean(),
dataSource: Joi.string(),
queueTime: Joi.number(),
forceSSL: Joi.boolean(),
transport: Joi.string(),
})

0 comments on commit 3cdf29f

Please sign in to comment.