aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src
diff options
context:
space:
mode:
Diffstat (limited to 'demo/src')
-rw-r--r--demo/src/js/demo.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/demo/src/js/demo.js b/demo/src/js/demo.js
index 7cc22434..5df96208 100644
--- a/demo/src/js/demo.js
+++ b/demo/src/js/demo.js
@@ -286,27 +286,4 @@ import Raven from 'raven-js';
if (env.prod) {
Raven.config('https://d4ad9866ad834437a4754e23937071e4@sentry.io/305555').install();
}
-
- // Google analytics
- // For demo site (https://plyr.io) only
- /* eslint-disable */
- if (env.prod) {
- ((i, s, o, g, r, a, m) => {
- i.GoogleAnalyticsObject = r;
- i[r] =
- i[r] ||
- function() {
- (i[r].q = i[r].q || []).push(arguments);
- };
- i[r].l = 1 * new Date();
- a = s.createElement(o);
- m = s.getElementsByTagName(o)[0];
- a.async = 1;
- a.src = g;
- m.parentNode.insertBefore(a, m);
- })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
- window.ga('create', 'UA-40881672-11', 'auto');
- window.ga('send', 'pageview');
- }
- /* eslint-enable */
})();