-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Note: This bug is Jake's fault basically
Whenever Segment reloads, we need to reset Pendo and Intercom to make sure the Pendo and Intercom configs update.
When Segment re-initializes: https://github.com/RedHatInsights/insights-chrome/blob/6f9b3416869a606ce395de19d846300d2105980c/src/analytics/SegmentProvider.tsx#L196
Also run this:
if (window.Intercom) { window.Intercom('shutdown'); } if (window.pendo) { window.pendo.flushNow(); window.pendo.setGuidesDisabled(true); window.pendo.stopGuides(); window.pendo.stopSendingEvents(); window.pendo = undefined; }