Intercom('showArticle', articleId) is not working for mew | Community
Skip to main content
Answered

Intercom('showArticle', articleId) is not working for mew

  • July 21, 2023
  • 6 replies
  • 236 views

The JS API call is not working for me → Intercom('showArticle', articleId)

 

I am using some othe JSAPI calls on the same page which are wirking.

Are there any known issues?

 

 

Best answer by Jacob Cox

Hi there @Michael Mollath !

Can you give me some more details around how you have this set up? Are you calling the method on a button click? If so, can you send me the line of code where you’re calling that? 

Also are you doing any steps before that method is getting called that might be affecting things? Some more details would be helpful here.

Thanks!

 

6 replies

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • Answer
  • July 29, 2023

Hi there @Michael Mollath !

Can you give me some more details around how you have this set up? Are you calling the method on a button click? If so, can you send me the line of code where you’re calling that? 

Also are you doing any steps before that method is getting called that might be affecting things? Some more details would be helpful here.

Thanks!

 


  • Author
  • New Participant
  • August 17, 2023

Hi and sorry for beeing so late. I missed your comment.

 

Please see yourself here:

https://michaelmollath.bubbleapps.io/version-test

The right button “Article” should trigger the help article


  • Author
  • New Participant
  • September 19, 2023

Any news here?


  • New Participant
  • March 8, 2024

This maybe a late reply but this might help someone -

I faced the same issue and discovered that the article must be published and part of a Collection, otherwise it won’t open when we trigger it with -

Intercom('showArticle', articleId)

 


  • New Participant
  • March 15, 2024

Hi @Ren Gm  I’m new to Intercom and I’m having the same issue. Article is published and is part of a collection, but still will not load. Would you be able to post the js? I think my issue might be with the article id. Thanks!


  • New Participant
  • March 16, 2024

@Village_Idiot here’s the code I’m using - 

<a href="#" onclick="Intercom('showArticle', 1234567); return false">Learn More</a>

Where “1234567” is the article ID which I found in the article URL. I used the onClick method inline instead of putting it in a separate js file.

Hope this helps!