Skip to main content

Hello everyone! 

I’m new to Intercom and not a developer but I’d like to know how do I use these Javascript API: Methods in my Intercom deployment, specifically. 

Intercom('shutdown') and Intercom('update')

Intercom('shutdown');
Intercom('update');

where should I place these scripts into? 

 

Thanks!

Hey there @reiszrie !

 

Those methods would be called in the JavaScript code of your site/app. For example, the ‘shutdown’ method is used for logging Users out of Intercom when they log out of your app. So you would call that method after a User clicks on the ‘Log out’ button of your app. The ‘update’ call would be made whenever you need to send updated User data to Intercom.

 

If you’re not a developer you will most likely need to work with one in order to integrate these into your site. Everyone’s setup and app works differently, so each one will be it’s own custom situation.


Reply