Text link for chat on same page, is not showing in Goal window for tracking conversion


#1

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


#2

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');

};

#3

Awesome!


#4

Thanks Zane    :)