Update extra.js

pull/166/head
Eric Nemchik 4 years ago committed by GitHub
parent 7364521979
commit 905a670bdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,9 +1,16 @@
app.location$.subscribe(function (url) { var gtag_id = "G-ZZKM4MPQXL";
var script = document.createElement("script");
script.src = "https://www.googletagmanager.com/gtag/js?id=" + gtag_id;
document.head.appendChild(script);
location$.subscribe(function (url) {
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
function gtag() { function gtag() {
dataLayer.push(arguments); dataLayer.push(arguments);
} }
gtag("js", new Date());
gtag("config", "G-ZZKM4MPQXL"); gtag("js", new Date());
gtag("config", gtag_id);
}); });

Loading…
Cancel
Save