Kommunicate provides a parameter named hidePostCTA
, you need to pass that as true
in your installation script, with this, rich message buttons will get hidden on click. Please refer documentation for more info [ documentation link ].
So your final installation script should look something like
(function(d, m){
var kommunicateSettings = {
"appId": "APP_ID",
"popupWidget": true,
"automaticChatOpenOnNavigation": true,
"hidePostCTA": true,
};
var s = document.createElement("script"); s.type = "text/javascript"; s.async = true;
s.src = "https://widget.kommunicate.io/v2/kommunicate.app";
var h = document.getElementsByTagName("head")[0]; h.appendChild(s);
window.kommunicate = m; m._globals = kommunicateSettings;
})(document, window.kommunicate || {});