Home > How do I programmatically disable the proactive chat for some users I know are already converted?
Categories: Proactive Chat | JavaScript API
(Last Updated On: )
About This Article
The purpose of this article is to provide a comprehensive overview of how to programmatically disable the proactive chat for some users I know are already converted.
To disable proactive chat for converted visitors you can place the following line in the SnapEngage JavaScript code after the line:
// Place your SnapEngage JS API code below
SnapEngage.allowProactiveChat(false);
Note: If you have not added or updated your code since January 1st, 2013 then you will want to add the above line after the SnapEngage.addButton(…) or SnapEngage.init(…).
Published January 12, 2012