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

Notify Intercom of URL changes in SPAs #62

Closed
wants to merge 1 commit into from
Closed

Notify Intercom of URL changes in SPAs #62

wants to merge 1 commit into from

Conversation

GeKorm
Copy link

@GeKorm GeKorm commented Jan 10, 2019

From the Intercom docs

For single paged apps or pages where the URL changes without a full page reload, the Intercom Messenger does not automatically send URL changes to Intercom to match messages based on URLs. You will need to call Intercom("update") in order to initiate a "ping" every time a URL changes.

Without this, Intercom won't be able to track page views correctly, or dispatch automated messages based on URL triggers.

@nhagen :)

@nhagen
Copy link
Owner

nhagen commented Sep 1, 2019

Thanks for this PR--this should have been addressed sooner than now. This should be addressed by v2.0.0-alpha.1 and #73, since update is called every time props change.

@nhagen nhagen closed this Sep 1, 2019
@GeKorm GeKorm deleted the PR/notify-page-change branch September 3, 2019 16:32
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

Successfully merging this pull request may close these issues.

2 participants