Zendesk Help Center on Intercom
  • Introduction
  • How to send Zendesk articles in Intercom Inbox
  • Add search bar on Intercom Messenger
  • Add an article on Intercom Messenger
  • FAQ
  • Show different search bar based on languages
  • Allow Intercom resolution bot to get Zendesk articles
  • Script installation
Powered by GitBook
On this page

Script installation

PreviousAllow Intercom resolution bot to get Zendesk articles

Last updated 2 years ago

Installing the script allows the Intercom Messenger to show large-size images in a popup modal.

Script installation steps

Add the code below to every page which you want to able to show images from the articles on a popup modal. Copy and paste it before the </body> tag on each page.

(function(a,l,s,z,d){
  a._Alszdkk = [];
  a.Alszdk = function() {
    var n = Array.prototype.slice.call(arguments);
    a._Alszdkk.push(n);
  }
  a.alszdk_config={alszdk_id:"{{ALSZDK_ID}}"};
  z=l.getElementsByTagName('head')[0];
  d=l.createElement('script');d.async=1;
  d.src=s;
  z.appendChild(d);
})(window,document,'//assets.getalvis.com/alvis-intercom-zendesk.1.0.1.js');

Show image in popup modal