diff --git a/_config.yml b/_config.yml
index c4da8e996..5f496b0c7 100644
--- a/_config.yml
+++ b/_config.yml
@@ -81,9 +81,6 @@ marked:
deploy:
type:
-# Analytics
-google_analytics: UA-101540923-1
-
# Algolia
appId: 0R8E5SPAFP
apiKey: 2ee58f908e6d720c4f72a9645ce0e857
diff --git a/src/webhint-theme/layout/partials/footer.ejs b/src/webhint-theme/layout/partials/footer.ejs
index 4dc9e3ebb..25053ee40 100644
--- a/src/webhint-theme/layout/partials/footer.ejs
+++ b/src/webhint-theme/layout/partials/footer.ejs
@@ -8,7 +8,7 @@
diff --git a/src/webhint-theme/layout/partials/home.ejs b/src/webhint-theme/layout/partials/home.ejs
index 05f8d3b5e..999aa59b8 100644
--- a/src/webhint-theme/layout/partials/home.ejs
+++ b/src/webhint-theme/layout/partials/home.ejs
@@ -44,7 +44,7 @@
-
+
diff --git a/src/webhint-theme/layout/partials/scan-form.ejs b/src/webhint-theme/layout/partials/scan-form.ejs
index 7d3ce1504..47c9b23e3 100644
--- a/src/webhint-theme/layout/partials/scan-form.ejs
+++ b/src/webhint-theme/layout/partials/scan-form.ejs
@@ -149,7 +149,7 @@
-
+
diff --git a/src/webhint-theme/layout/partials/scripts.ejs b/src/webhint-theme/layout/partials/scripts.ejs
index 5829e052a..f35c32e85 100644
--- a/src/webhint-theme/layout/partials/scripts.ejs
+++ b/src/webhint-theme/layout/partials/scripts.ejs
@@ -37,13 +37,3 @@
});
}());
-
-
-
-
diff --git a/src/webhint-theme/source/js/gdpr.js b/src/webhint-theme/source/js/gdpr.js
index 7449c6559..253b97d72 100644
--- a/src/webhint-theme/source/js/gdpr.js
+++ b/src/webhint-theme/source/js/gdpr.js
@@ -1,4 +1,3 @@
-/* global ga:false */
(function () {
/** Creates a cookie. Code based on https://www.quirksmode.org/js/cookies.html */
var createCookie = function (name, value, days) {
@@ -51,34 +50,4 @@
}
createCookie('consent', 'on', 30);
-
- // Track events code
-
- var arraify = function (elements) {
- return [].slice.call(elements);
- };
-
- var handleClickEvent = function (e) {
- var target = e.target;
-
- if (target) {
- var action = target.getAttribute('data-ga-action'); // required
- var category = target.getAttribute('data-ga-category'); // required
- var label = target.getAttribute('data-ga-label');
- var value = parseInt(target.getAttribute('data-ga-value'), 10) || void 0;
-
- if (!ga ||
- !category) {
- return;
- }
-
- ga('send', 'event', category, action, label, value);
- }
- };
-
- var actions = arraify(document.querySelectorAll('[data-ga-action]'));
-
- actions.forEach(function(element){
- element.addEventListener('click', handleClickEvent, false);
- });
}());