Intercom
Intercom is a customer communication platform that provides live chat and messaging tools for interacting with visitors on your website. It provides a Messenger widget that can be displayed across your ShopWired website to support customer enquiries.
Key features for Intercom include:
- Visitor messaging
- Live chat support tools
- Automated replies
- Conversation routing
- Optional help center support
Intercom integrates with ShopWired by adding a into your ShopWired theme so that the Messenger displays on every page of your website, to enhance customer communication for your business.
Account creation
Account creation
Create an account on the Intercom website. Intercom will provide the Messenger JavaScript snippet required for installation on your ShopWired website
Theme installation
Theme installation
Intercom provides a JavaScript snippet which must be added to your ShopWired website so that the Messenger loads across all pages, similar to the example below:
<script> window.intercomSettings = { app_id: "YOUR_APP_ID" }; </script>
<script> (function() { var w = window; var ic = w.Intercom; if (typeof ic === "function") { ic('reattach_activator'); ic('update', w.intercomSettings); } else { var d = document; var i = function() { i.c(arguments) }; i.q = []; i.c = function(args) { i.q.push(args) }; w.Intercom = i; var l = function() { var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://widget.intercom.io/widget/YOUR_APP_ID'; var x = d.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); }; if (d.readyState === 'complete') { l(); } else if (w.attachEvent) { w.attachEvent('onload', l); } else { w.addEventListener('load', l, false); } } })(); </script>
The script shown above is provided as an example only. You must copy the exact script provided in your own account, as the script and any ID values will be unique to your website.
Add this script to your theme’s master.twig file:
- Navigate to Website > Themes
- Select the
code editoroption for the theme you want to install it on - Add the script just above the closing
</head>tag
Recommendations
Recommendations
- Check that the Messenger loads correctly and consistently on desktop and mobile.