You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Authorization event. The method must be called immediately after the user registers with the application. vkConnectId can be empty string. The user ID must be passed in the userId parameter.
27
27
*/
28
28
trackLoginEventWithParams(
29
29
userId: string,
30
30
vkConnectId: string,
31
31
attributes: Object
32
32
): void;
33
-
/**
33
+
/**
34
34
* An event to send an invitation.
35
35
*/
36
36
trackInviteEvent(): void;
@@ -43,11 +43,11 @@ interface IMyTracker {
43
43
To reduce the channel load and minimize the impact on application performance, the SDK buffers all events on the device before sending them to the server, and regularly sends the collected data in a compressed packet. By default, data is sent to the server every 15 minutes. This interval can be set via the bufferingPeriod parameter from 1 second to 1 day. If the user has closed the application, it will be sent the next time it is started. But some events are very important to get to the analytics as early as possible, especially in the first sessions after the installation of the application. The flush() method will help here.
44
44
*/
45
45
flush(): void;
46
-
/**
46
+
/**
47
47
* Registration event. The method must be called immediately after the user registers with the application. vkConnectId can be empty string.
* Registration event. The method must be called immediately after the user registers with the application. vkConnectId can be empty string. The user ID must be passed in the userId parameter.
52
52
*/
53
53
trackRegistrationEventWithParams(
@@ -106,15 +106,15 @@ If your application requests access to the device's location, you can enable thi
106
106
trackLocation(number: 0|1|2): void;
107
107
/**
108
108
* The region where the statistics collection server is located. The need to change the region may arise, for example, due to legal requirements. Available values:
109
-
* @default 0
110
-
* 0 — region not set(default value)
111
-
* 1 — server located on the territory of the Russian Federation
112
-
* 2 — server located in Europe
109
+
* @default 0
110
+
* 0 — region not set(default value)
111
+
* 1 — server located on the territory of the Russian Federation
112
+
* 2 — server located in Europe
113
113
*/
114
114
region(region: 0|1|2): void;
115
-
/**
116
-
* Enables/disables debug mode. The default is false.
117
-
* @default 0
115
+
/**
116
+
* Enables/disables debug mode. The default is false.
0 commit comments