Hi all,
I’ve followed the online guide and tried to launch the messenger from a button on a web page, but it fails to do anything. It’s 2 lines of code - how hard can it be?!
Debugging in Chrome, the button click makes no calls at all. If I click the standard Messenger icon everything works fine.
All help much appreciated!
Button code:
<a id="open_web_chat" class="btn btn-sm btn-primary lift w-75">Chat Now</a>
Script before </body>:
<script>
window.intercomSettings = {
api_base: "https://api-iam.intercom.io",
app_id: "XXXXXX",
custom_launcher_selector:'open_web_chat'
};
</script>