This commit is contained in:
Sam Potts 2019-01-17 12:08:25 +11:00
parent f927d26ce7
commit e40c63b9e7
5 changed files with 6 additions and 12 deletions

8
demo/dist/demo.js vendored
View File

@ -4089,7 +4089,7 @@ typeof navigator === "object" && (function () {
var Client = raven;
singleton.Client = Client;
// ==========================================================================
var _arguments = arguments;
(function () {
var host = window.location.host;
@ -4330,11 +4330,7 @@ typeof navigator === "object" && (function () {
window.dataLayer = window.dataLayer || [];
var gtag = function gtag() {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
window.dataLayer.push(args);
window.dataLayer.push(_arguments); // eslint-disable-line
};
gtag('js', new Date());

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -281,9 +281,7 @@ import Raven from 'raven-js';
// For demo site (https://plyr.io) only
if (env.prod) {
window.dataLayer = window.dataLayer || [];
const gtag = (...args) => {
window.dataLayer.push(args);
};
const gtag = () => window.dataLayer.push(arguments); // eslint-disable-line
gtag('js', new Date());
gtag('config', 'UA-132699580-1');
}