From 21ce194f6bb36618ac1c1567b663bc2e4ae2be6f Mon Sep 17 00:00:00 2001 From: Jake Marsh Date: Mon, 8 Apr 2019 12:38:59 -0700 Subject: [PATCH] Fix gtagId => trackingId The plugin never initializes because it's looking for `gtagId` here, while everywhere else it uses `trackingId`. --- src/gatsby-ssr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gatsby-ssr.js b/src/gatsby-ssr.js index 481eb84..9c00c8d 100755 --- a/src/gatsby-ssr.js +++ b/src/gatsby-ssr.js @@ -11,7 +11,7 @@ exports.onRenderBody = ( if ( process.env.NODE_ENV !== 'production' || !pluginOptions.cookihubId || - !pluginOptions.gtagId + !pluginOptions.trackingId ) { return null; }