diff --git a/src/_js/main.js b/src/_js/main.js index 011ab23f..ed04bfb7 100644 --- a/src/_js/main.js +++ b/src/_js/main.js @@ -71,18 +71,4 @@ // set the location to `location.pathname` directly. history.replaceState({}, '', location.pathname); } - - // Google Analytics. - const UA_ID = 'UA-65961526-1'; - self.GoogleAnalyticsObject = 'ga'; - self.ga = function() { - ga.q.push(arguments); - }; - ga.l = +new Date(); - ga.q = []; - ga('create', UA_ID, 'auto'); - ga('set', 'referrer', document.referrer.split('?')[0]); - ga('send', 'pageview'); - insertScript('https://www.google-analytics.com/analytics.js'); - }()); diff --git a/src/sw.js b/src/sw.js index 8ff3dffa..daa2bfb0 100644 --- a/src/sw.js +++ b/src/sw.js @@ -20,6 +20,4 @@ workbox.core.setCacheNameDetails({ // Note: this is populated at build time. workbox.precaching.precacheAndRoute([]); -workbox.googleAnalytics.initialize({}); - workbox.skipWaiting();