Hi, frenjo..

if you usually use the 3rd party, please… as developer READ A DOCUMENTATION. This single post I going to tell you I had a problem because of didn’t read the documentation. Around 2 weeks, I got a headache and try to solve a problem with different code and probability with javascript. Finally, I had a solution when I looked in the documentation.

 

Intercom('onShow', function() { // Do stuff });

to

Intercom('onShow', function() { console.log("Hello!") });