Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[intercom] Intercom JS widget loaded prematurely #314

Open
SegmentDestinationsBot opened this issue Dec 10, 2019 · 1 comment
Open

[intercom] Intercom JS widget loaded prematurely #314

SegmentDestinationsBot opened this issue Dec 10, 2019 · 1 comment

Comments

@SegmentDestinationsBot
Copy link
Contributor

Migrated from #32 by @tay

I'm an engineer at a Segment/Intercom client and we were receiving customer reports that the Intercom window wasn't opening from time to time. As background, we include the Segment script in <head> as recommended and have installed the Intercom integration.

As I was able to reproduce the issue sporadically, I tracked it down to the Intercom widget initializing when document.body was not available. With the above installation setup, this does not guarantee that body will be available by the time the Intercom integration loads, as required.

As Intercom advises, one way to solve the problem would be to include the Intercom script tag in <body>, rather than <head> which is what we see this integration doing.

@kwent
Copy link

kwent commented Oct 14, 2023

Please fix. This integration is straight up not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants