Skip to main content

I have set up my Intercom settings to hide the messenger on certain pages of my site. See the attached screenshots showing the settings for Users and Visitors. That said the Messenger is still appearing on those pages.

 

Steps to reproduce:

 

  1. Visit https://www.unstarvingartists.com/
  2. Click the big blue button "See How It Works"
  3. See that the messenger is present on the page (and the page path contains '/training')

 

This is a single page application (Gatsby.js / React) so that could be at the heart of the matter.

 

How can I configure this to work as desired?

 

Thank you!

 

HarryScreen Shot 2021-12-01 at 1.40.51 PMScreen Shot 2021-12-01 at 1.40.58 PM

Ok so I'm making some progress. It seems the issue more has to do with my Google Tag Manager installation of Intercom.

 

I have one call to `Intercom('install')` that happens once the window loads. Then every time the History API changes in the browser I call `Intercom('update')` and log a new URL for the visitor.

 

Screen Shot 2021-12-02 at 3.09.45 PMScreen Shot 2021-12-02 at 3.11.37 PMScreen Shot 2021-12-02 at 3.12.10 PMScreen Shot 2021-12-02 at 3.12.00 PMScreen Shot 2021-12-02 at 3.11.43 PMWith these two tags it now sometimes hides the Messenger Launcher. But it does so inconsistently. What am I missing to ensure the Messenger Launcher is hidden consistently on a specific set of pages?

 

Thanks for your help!


Reply