From 4f81d5374ee70ac0994e84ca1f2ddb3bc03e4edb Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sat, 16 Nov 2019 15:07:10 +0400 Subject: [PATCH] Fix - Analytics not working --- .gitignore | 1 + components/helmet/index.js | 22 +++++++++------------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 09a2156fd..039ed89fb 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ Thumbs.db .idea .next out +.env build node_modules yarn-error.log diff --git a/components/helmet/index.js b/components/helmet/index.js index 5c9072c9a..78a288924 100644 --- a/components/helmet/index.js +++ b/components/helmet/index.js @@ -56,19 +56,15 @@ const Helmet = (props) => ( { /* Global Site Tag (gtag.js) - Google Analytics */ } - { !PHASE_DEVELOPMENT_SERVER && ( - <> -