File tree 2 files changed +5
-6
lines changed
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -220,11 +220,11 @@ client.setStatsSessionId(id);
220
220
```
221
221
222
222
#### Collect search events automatically
223
- Send search events automatically. Not recommended in search-as-you-type implementations, as every keystroke
224
- would fire a statistics event
223
+ Send search events automatically to the Analytics Dashboard . Not recommended in search-as-you-type implementations,
224
+ as every keystroke would fire a statistics event
225
225
``` js
226
- // Control whether search queries are sent to your AddSearch Analytics Dashboard automatically or not (default: false )
227
- client .setCollectAnalytics (true );
226
+ // Control whether search queries are sent to your AddSearch Analytics Dashboard automatically or not (default: true )
227
+ client .setCollectAnalytics (false );
228
228
```
229
229
230
230
### Personalization
Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ var settings = function() {
17
17
facetFields : [ ] ,
18
18
autocomplete : {
19
19
size : 10
20
- } ,
21
- collectAnalytics : false
20
+ }
22
21
} ;
23
22
24
23
this . getSettings = function ( ) {
You can’t perform that action at this time.
0 commit comments