Answered

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

  • 21 July 2023
  • 6 replies
  • 87 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?

 

 

icon

Best answer by Jacob Cox 29 July 2023, 23:57

View original

6 replies

Userlevel 4
Badge +5

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!

 

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

Any news here?

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)

 

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!

@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!

Reply