Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Intercom JS widget loaded prematurely #32

Open
tay opened this issue May 24, 2018 · 1 comment
Open

Intercom JS widget loaded prematurely #32

tay opened this issue May 24, 2018 · 1 comment
Labels
migrated The issue has been migrated

Comments

@tay
Copy link

tay commented May 24, 2018

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.

@SegmentDestinationsBot
Copy link

Hi @tay, as part of the monorepo migration, this issue has been moved to new issue. Our engineers have been notified and will prioritize and work on it ASAP. Thank you!

For more information, see README.md.

@SegmentDestinationsBot SegmentDestinationsBot added the migrated The issue has been migrated label Dec 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
migrated The issue has been migrated
Projects
None yet
Development

No branches or pull requests

2 participants