From 4b7f55382f8ffa43e1c1f64de4ff6239a5a856ce Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Tue, 15 Jan 2019 17:48:18 -0500 Subject: [PATCH] Limiting cookie storage for Google Analytics --- gatsby-config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index 07ebf9e..9028a09 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -24,7 +24,9 @@ module.exports = { options: { trackingId: process.env.GA_PROPERTY, anonymize: true, - respectDNT: true + respectDNT: true, + storeGac: false, + cookieExpires: 0 } }, {