-
Notifications
You must be signed in to change notification settings - Fork 8
Status: Tracking Not Installed #18
Copy link
Copy link
Open
Description
$.get(RELATIVE_PATH + "/api/plugins/google-analytics").success(function(t) {
(function(t, e, n, i, r, o, a) {
t["GoogleAnalyticsObject"] = r;
t[r] = t[r] || function() {
(t[r].q = t[r].q || []).push(arguments)
}
,
t[r].l = 1 * new Date;
o = e.createElement(n),
a = e.getElementsByTagName(n)[0];
o.async = 1;
o.src = i;
a.parentNode.insertBefore(o, a)
}
)(window, document, "script", "//www.google-analytics.com/analytics.js", "ga");
ga("create", t.id, "auto");
if (t.displayFeatures === "on") {
ga("require", "displayfeatures")
}
ga("send", "pageview");
$(window).on("action:ajaxify.end", function(t, e) {
ga("send", "pageview", RELATIVE_PATH + "/" + e.url)
}
)
}
i just copied this tracking plugin code in node.bb.min.js on my nodebb website. I observe google developer tools network panel.
http://www.google-analytics.com/analytics.js js code is downloaded.
I added 2 days ago and still google analytics says "Status: Tracking Not Installed"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels