File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -220,11 +220,11 @@ client.setStatsSessionId(id);
220220```
221221
222222#### 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
225225``` 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 );
228228```
229229
230230### Personalization
Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ var settings = function() {
1717 facetFields : [ ] ,
1818 autocomplete : {
1919 size : 10
20- } ,
21- collectAnalytics : false
20+ }
2221 } ;
2322
2423 this . getSettings = function ( ) {
You can’t perform that action at this time.
0 commit comments