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
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,6 +176,7 @@ ClickstreamAnalytics.init({
176
176
isLogEvents: false,
177
177
authCookie: "your auth cookie",
178
178
sessionTimeoutDuration: 1800000,
179
+
idleTimeoutDuration: 120000,
179
180
searchKeyWords: ['product', 'class'],
180
181
domainList: ['example1.com', 'example2.com'],
181
182
});
@@ -199,6 +200,7 @@ Here is an explanation of each property:
199
200
-**isLogEvents**: whether to print out event json for debugging, default is false.
200
201
-**authCookie**: your auth cookie for AWS application load balancer auth cookie.
201
202
-**sessionTimeoutDuration**: the duration for session timeout millisecond, default is 1800000
203
+
-**idleTimeoutDuration**: the maximum duration of user inactivity before triggering an idle state, default is 120000 millisecond, Any idle duration exceeding this threshold will be removed in the user_engagement events on the current page.
202
204
-**searchKeyWords**: the customized Keywords for trigger the `_search` event, by default we detect `q`, `s`, `search`, `query` and `keyword` in query parameters.
203
205
-**domainList**: if your website cross multiple domain, you can customize the domain list. The `_outbound` attribute of the `_click` event will be true when a link leads to a website that's not a part of your configured domain.
0 commit comments