This repository was archived by the owner on Apr 28, 2022. It is now read-only.
This repository was archived by the owner on Apr 28, 2022. It is now read-only.
analytics.ready() callback in a multi-server environment. #524
Closed
Description
We're using the Drift integration with Segment, but I'm trying to hide the chat icon that is loaded into the DOM by Drift in certain situations. I was able to accomplish this locally and in our staging environment (both are single-server environments) by using jquery inside the analytics.ready() callback that hides the appropriate div. However, when I tried this on production (in a multi-server environment), it didn't work. Any ideas?
I've also tried selective integrations in my code, but it looks like the DOM is being manipulated on initialization, not on page calls or identify calls. Any way to prevent this code from being loaded programmatically?
Metadata
Metadata
Assignees
Labels
No labels