Skip to main content

I added the following code to the text for opening chat window:


I want to track it as conversion goal, but not able to see the link in Goal window

I figured out the solution for it. 


I am adding the solution for others to benefit 


Add the following code in the text for the link


 to prompt the Intercom chat window to open:


// You can give any id to , I used 'chatId'

Added the following script in Javascript


//use id which you have mentioned above in <a>

document.getElementById("chatId").onclick=function(){







Intercom('show');

};

Awesome!


Thanks Zane    :)


Reply