diff --git a/package.json b/package.json index b5c00b4d..b261ae9c 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "react-apollo": "^2.1.9", "react-dom": "^16.14.0", "react-ga": "^2.5.3", + "react-gtm-module": "^2.0.11", "react-helmet": "^5.2.0", "react-measure": "^2.1.0", "react-router-dom": "^5.0.1", diff --git a/public/config.template b/public/config.template index b47e95b4..dcc7652b 100644 --- a/public/config.template +++ b/public/config.template @@ -1,2 +1,3 @@ // DevOps context -var configApiUrl = DEVOPS_CONTEXT_PLATFORM_APP_CONFIG_API_URL \ No newline at end of file +var configApiUrl = DEVOPS_CONTEXT_PLATFORM_APP_CONFIG_API_URL +var configGoogleTagManagerID = DEVOPS_CONTEXT_PLATFORM_APP_CONFIG_GOOGLE_TAG_MANAGER_ID \ No newline at end of file diff --git a/public/index.html b/public/index.html index 40dfa171..f286e13d 100644 --- a/public/index.html +++ b/public/index.html @@ -1,31 +1,17 @@ - -
- <% if (process.env.REACT_APP_GTMID) { %> - - - - <% } %> - - - - - - - - -