Skip to content

Commit

Permalink
feat(quantic): set analyticsMode: legacy on all Quantic Interfaces (#…
Browse files Browse the repository at this point in the history
…4385)

SFINT-5707 (error in branch name sorry)

In order to keep using User Actions, we set analyticsMode: 'legacy' on
all the EngineOptions when initializing the Headless Engines.
  • Loading branch information
erocheleau authored Sep 10, 2024
1 parent cd5b8fc commit cb20ded
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export default class QuanticCaseAssistInterface extends LightningElement {
caseAssistId: this.caseAssistId,
searchHub: this.searchHub,
analytics: {
analyticsMode: 'legacy',
...(document.referrer && {originLevel3: document.referrer}),
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default class QuanticInsightInterface extends LightningElement {
locale: LOCALE,
},
analytics: {
analyticsMode: 'legacy',
...(document.referrer && {originLevel3: document.referrer}),
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export default class QuanticRecommendationInterface extends LightningElement {
locale: LOCALE,
timezone: TIMEZONE,
analytics: {
analyticsMode: 'legacy',
originContext: this.analyticsOriginContext,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export default class QuanticSearchInterface extends LightningElement {
timezone: TIMEZONE,
},
analytics: {
analyticsMode: 'legacy',
...(document.referrer && {originLevel3: document.referrer}),
},
},
Expand Down

0 comments on commit cb20ded

Please sign in to comment.