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

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');
}