Skip to main content
Answered

How to customize message on Intercom for Cordova & Phonegap

  • May 30, 2021
  • 1 reply
  • 18 views

Hey, i want to send my user a custom message, on web it is with 'showNewMessage

' and the custom message.

if i want to do the same thing but on Intercom for Cordova & Phonegap, is there a way to do so?

Best answer by Eric Fitz

Hey @user1122​, I can see that you've been chatting with our Support team about this, too!

 

Here's some sample code that will show you how to show a custom message:

 

document.getElementById("launch-messenger-btn").addEventListener("click", function(){ intercom.displayMessageComposerWithInitialMessage("here is a sample message");

}, false);

View original
Did this topic help you find an answer to your question?

1 reply

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • Answer
  • June 1, 2021

Hey @user1122​, I can see that you've been chatting with our Support team about this, too!

 

Here's some sample code that will show you how to show a custom message:

 

document.getElementById("launch-messenger-btn").addEventListener("click", function(){ intercom.displayMessageComposerWithInitialMessage("here is a sample message");

}, false);


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings