diff --git a/src/app/Router.js b/src/app/Router.js index 37bd2305..1bac3386 100644 --- a/src/app/Router.js +++ b/src/app/Router.js @@ -1,7 +1,5 @@ import Persist from './stores/Persist'; -import ReactGA from 'react-ga'; -ReactGA.initialize('UA-55840909-18'); let standalone = undefined; /** @@ -259,16 +257,6 @@ Route.prototype.match = function(path, params) { * @param {string} path Path to track */ function gaTrack(path) { - const match = path.match(/\/outfit\/(.*)(\?code=.*)/); - if (match) { - if (match[1]) { - ReactGA.ga('set', 'contentGroup1', match[1]); - } - if (match[2]) { - ReactGA.ga('set', 'contentGroup2', match[2]); - } - } - ReactGA.pageview(path); const _paq = window._paq || []; _paq.push(['trackPageView']); } diff --git a/src/index.ejs b/src/index.ejs index 37381f38..ddaada89 100644 --- a/src/index.ejs +++ b/src/index.ejs @@ -32,15 +32,6 @@ window.CORIOLIS_DATE = '<%- htmlWebpackPlugin.options.date.toISOString().slice(0, 10) %>'; window.BUGSNAG_VERSION = '<%- htmlWebpackPlugin.options.version + '-' + htmlWebpackPlugin.options.date.toISOString() %>'; - <% if (htmlWebpackPlugin.options.uaTracking) { %> - - - <% } %> -