mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Added setup type var
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
window.ls.container.get("view").add({
|
||||
selector: "data-analytics-pageview",
|
||||
controller: function(window, router) {
|
||||
controller: function(window, router, env) {
|
||||
if (!ga) {
|
||||
console.error("Google Analytics ga object is not available");
|
||||
}
|
||||
@@ -13,7 +13,8 @@
|
||||
ga("set", "page", window.location.pathname);
|
||||
|
||||
ga("set", "dimension1", project);
|
||||
//ga('set', 'dimension2', '');
|
||||
ga('set', 'dimension2', env.VERSION);
|
||||
ga('set', 'dimension3', env.SETUP);
|
||||
|
||||
ga("send", "pageview");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user