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
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,8 @@ ClickstreamAnalytics.init({
157
157
isTrackSearchEvents: true,
158
158
isTrackScrollEvents: true,
159
159
isTrackPageLoadEvents: true,
160
+
isTrackAppStartEvents: true,
161
+
isTrackAppEndEvents: true,
160
162
pageType: PageType.SPA,
161
163
isLogEvents: false,
162
164
authCookie: "your auth cookie",
@@ -178,6 +180,8 @@ Here is an explanation of each property:
178
180
-**isTrackSearchEvents**: whether auto record search result page events in browser, default is `true`
179
181
-**isTrackScrollEvents**: whether auto record page scroll events in browser, default is `true`
180
182
-**isTrackPageLoadEvents**: whether auto record page load performance events in browser, default is `false`
183
+
-**isTrackAppStartEvents**: whether auto record app start events in browser when pages becomes visible, default is `false`
184
+
-**isTrackAppEndEvents**: whether auto record app end events in browser when pages becomes invisible, default is `false`
181
185
-**pageType**: the website type, `SPA` for single page application, `multiPageApp` for multiple page application, default is `SPA`. This attribute works only when the attribute `isTrackPageViewEvents`'s value is `true`
182
186
-**isLogEvents**: whether to print out event json for debugging, default is false.
183
187
-**authCookie**: your auth cookie for AWS application load balancer auth cookie.
0 commit comments