|
|
|
@ -130,7 +130,7 @@ export class ShapezGameAnalytics extends GameAnalyticsInterface {
|
|
|
|
|
return this.fetchABVariant().then(() => {
|
|
|
|
|
setInterval(() => this.sendTimePoints(), 60 * 1000);
|
|
|
|
|
|
|
|
|
|
if (this.app.restrictionMgr.isLimitedVersion()) {
|
|
|
|
|
if (this.app.restrictionMgr.isLimitedVersion() && !G_IS_DEV) {
|
|
|
|
|
fetch(
|
|
|
|
|
"https://analytics.shapez.io/campaign/" +
|
|
|
|
|
this.environment +
|
|
|
|
@ -276,6 +276,10 @@ export class ShapezGameAnalytics extends GameAnalyticsInterface {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (G_IS_DEV) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!this.syncKey) {
|
|
|
|
|
logger.warn("Can not send event due to missing sync key");
|
|
|
|
|
return;
|
|
|
|
|