Skip to content

Commit

Permalink
Set analyticsMode: legacy on stencil app-root
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeaudoincoveo committed Sep 11, 2024
1 parent 70e2fd2 commit edf71e4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ export class AppRoot {
const searchInterface: HTMLAtomicSearchInterfaceElement =
document.querySelector('atomic-search-interface')!;

await searchInterface.initialize(getSampleSearchEngineConfiguration());
await searchInterface.initialize({
...getSampleSearchEngineConfiguration(),
analytics: {analyticsMode: 'legacy'},
});
this.engine = searchInterface.engine!;

if (Router.activePath === searchPath) {
Expand Down

0 comments on commit edf71e4

Please sign in to comment.