mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-16 06:44:50 +00:00
Fix typo
This commit is contained in:
parent
f195bfa9f2
commit
c0720d8fae
@ -27,7 +27,7 @@ exports.startup = function() {
|
|||||||
hasInitialised = true;
|
hasInitialised = true;
|
||||||
var gaMeasurementID = $tw.wiki.getTiddlerText("$:/GoogleAnalyticsMeasurementID","").replace(/\n/g,"");
|
var gaMeasurementID = $tw.wiki.getTiddlerText("$:/GoogleAnalyticsMeasurementID","").replace(/\n/g,"");
|
||||||
var url ="https://www.googletagmanager.com/gtag/js?id=" + gaMeasurementID;
|
var url ="https://www.googletagmanager.com/gtag/js?id=" + gaMeasurementID;
|
||||||
window.dataLayer = this.window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
window.gtag = function() { window.dataLayer?.push(arguments); };
|
window.gtag = function() { window.dataLayer?.push(arguments); };
|
||||||
window.gtag("js",new Date());
|
window.gtag("js",new Date());
|
||||||
window.gtag("config",gaMeasurementID);
|
window.gtag("config",gaMeasurementID);
|
||||||
|
Loading…
Reference in New Issue
Block a user