Commit 0e4f7740 authored by ONLYOFFICE's avatar ONLYOFFICE

Removed analytics.

parent cbd5a876
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
embedCode = '<iframe allowtransparency="true" frameborder="0" scrolling="no" src="{embed-url}" width="{width}" height="{height}"></iframe>', embedCode = '<iframe allowtransparency="true" frameborder="0" scrolling="no" src="{embed-url}" width="{width}" height="{height}"></iframe>',
maxZIndex = 9090, maxZIndex = 9090,
created = false; created = false;
Common.Analytics.initialize("UA-12442749-13", "Embedded ONLYOFFICE Document");
if (typeof isBrowserSupported !== "undefined" && !isBrowserSupported()) { if (typeof isBrowserSupported !== "undefined" && !isBrowserSupported()) {
Common.Gateway.reportError(undefined, "Your browser is not supported."); Common.Gateway.reportError(undefined, "Your browser is not supported.");
return; return;
......
...@@ -894,7 +894,6 @@ Ext.define("DE.controller.Main", { ...@@ -894,7 +894,6 @@ Ext.define("DE.controller.Main", {
me.api.asc_enableKeyEvents(isInstance == false); me.api.asc_enableKeyEvents(isInstance == false);
}, },
this); this);
Common.component.Analytics.initialize("UA-12442749-13", "Document Editor");
}, },
50); 50);
}, },
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
return; return;
} }
this.initControl(); this.initControl();
Common.component.Analytics.initialize("UA-12442749-13", "Document Editor Mobile");
var api = this.api, var api = this.api,
app = this.getApplication(); app = this.getApplication();
api = new asc_docs_api("id-sdkeditor"); api = new asc_docs_api("id-sdkeditor");
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
embedCode = '<iframe allowtransparency="true" frameborder="0" scrolling="no" src="{embed-url}" width="{width}" height="{height}"></iframe>', embedCode = '<iframe allowtransparency="true" frameborder="0" scrolling="no" src="{embed-url}" width="{width}" height="{height}"></iframe>',
maxZIndex = 9090, maxZIndex = 9090,
created = false; created = false;
Common.Analytics.initialize("UA-12442749-13", "Embedded ONLYOFFICE Presentation");
if (typeof isBrowserSupported !== "undefined" && !isBrowserSupported()) { if (typeof isBrowserSupported !== "undefined" && !isBrowserSupported()) {
Common.Gateway.reportError(undefined, "Your browser is not supported."); Common.Gateway.reportError(undefined, "Your browser is not supported.");
return; return;
......
...@@ -857,7 +857,6 @@ Ext.define("PE.controller.Main", { ...@@ -857,7 +857,6 @@ Ext.define("PE.controller.Main", {
me.api.asc_enableKeyEvents(isInstance == false); me.api.asc_enableKeyEvents(isInstance == false);
}, },
this); this);
Common.component.Analytics.initialize("UA-12442749-13", "Presentation Editor");
}, },
50); 50);
}, },
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
return; return;
} }
this.initControl(); this.initControl();
Common.component.Analytics.initialize("UA-12442749-13", "Presentation Editor Mobile");
var api = this.api, var api = this.api,
app = this.getApplication(), app = this.getApplication(),
profile = app.getCurrentProfile(); profile = app.getCurrentProfile();
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
embedCode = '<iframe allowtransparency="true" frameborder="0" scrolling="no" src="{embed-url}" width="{width}" height="{height}"></iframe>', embedCode = '<iframe allowtransparency="true" frameborder="0" scrolling="no" src="{embed-url}" width="{width}" height="{height}"></iframe>',
maxZIndex = 9090, maxZIndex = 9090,
created = false; created = false;
Common.Analytics.initialize("UA-12442749-13", "Embedded ONLYOFFICE Spreadsheet");
if (typeof isBrowserSupported !== "undefined" && !isBrowserSupported()) { if (typeof isBrowserSupported !== "undefined" && !isBrowserSupported()) {
Common.Gateway.reportError(undefined, "Your browser is not supported."); Common.Gateway.reportError(undefined, "Your browser is not supported.");
return; return;
......
...@@ -617,7 +617,6 @@ Ext.define("SSE.controller.Main", { ...@@ -617,7 +617,6 @@ Ext.define("SSE.controller.Main", {
} }
me.api.asc_setAutoSaveGap(value); me.api.asc_setAutoSaveGap(value);
} }
Common.component.Analytics.initialize("UA-12442749-13", "Spreadsheet Editor");
var isInstance, documentHolder = me.getDocumentHolder(), var isInstance, documentHolder = me.getDocumentHolder(),
formulaInput = me.getFormulaInput(); formulaInput = me.getFormulaInput();
Ext.FocusManager.enable(); Ext.FocusManager.enable();
......
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
return; return;
} }
this.initControl(); this.initControl();
Common.component.Analytics.initialize("UA-12442749-13", "Spreadsheet Mobile");
var app = this.getApplication(); var app = this.getApplication();
this.api = new Asc.spreadsheet_api("id-sdkeditor", "", SSE.controller.ApiEvents, {}, this.api = new Asc.spreadsheet_api("id-sdkeditor", "", SSE.controller.ApiEvents, {},
{}); {});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment