diff options
author | Sam Potts <sam@potts.es> | 2019-01-17 18:50:26 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2019-01-17 18:50:26 +1100 |
commit | ad72ebd4bbf487e56884d264a4bb13119fb687b5 (patch) | |
tree | ba40ad37ccaaca5066ea395559704bc8e3abc940 /demo/dist/demo.js | |
parent | e40c63b9e7985f52c7e68f5cb6aeaef9ff5ca9d7 (diff) | |
download | plyr-ad72ebd4bbf487e56884d264a4bb13119fb687b5.tar.lz plyr-ad72ebd4bbf487e56884d264a4bb13119fb687b5.tar.xz plyr-ad72ebd4bbf487e56884d264a4bb13119fb687b5.zip |
Fix analytics
Diffstat (limited to 'demo/dist/demo.js')
-rw-r--r-- | demo/dist/demo.js | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/demo/dist/demo.js b/demo/dist/demo.js index 53dbcc64..b5906cb2 100644 --- a/demo/dist/demo.js +++ b/demo/dist/demo.js @@ -4089,7 +4089,7 @@ typeof navigator === "object" && (function () { var Client = raven; singleton.Client = Client; - var _arguments = arguments; + // ========================================================================== (function () { var host = window.location.host; @@ -4322,19 +4322,6 @@ typeof navigator === "object" && (function () { if (env.prod) { singleton.config('https://d4ad9866ad834437a4754e23937071e4@sentry.io/305555').install(); - } // Google analytics - // For demo site (https://plyr.io) only - - - if (env.prod) { - window.dataLayer = window.dataLayer || []; - - var gtag = function gtag() { - window.dataLayer.push(_arguments); // eslint-disable-line - }; - - gtag('js', new Date()); - gtag('config', 'UA-132699580-1'); } })(); |