Skip to content
Log in

Add a live chat service to your site

On this page

Live chat gives a visitor real-time contact with a support team member. Providers differ in branding and features, but they integrate with a StoreConnect store the same way: a script that loads at the end of every page.

Before you start

  • Sign up to a live chat service and copy the embed code it gives you.
  • You need edit access to the Store record for the store you are changing.

Install the live chat code

A live chat script has to run after the page content exists, so it belongs in the body content block, which StoreConnect inserts just before the closing </body> tag of every page.

  1. Go to the Content Blocks list and select New (s_c__Content_Block__c).
  2. Set the Template to No added styling, so the block adds no markup of its own around your script.
  3. Give it a name such as “Body Content”.
  4. Paste your provider’s embed code into the Content field.
  5. Select Save.
  6. Open your store’s Store record and point it at the block:
    1. Under the Global Content section, select the Body Content field (s_c__Body_Content_Block_Id__c).
    2. Search for your body content block.
    3. Select Save.

The chat widget now loads on every page of your store.

Body Content takes a single content block, so if you are installing other custom code at the end of the body, add it to this same block rather than creating a second one. For the other ways to insert custom code, see Adding custom JavaScript, CSS and head content.

Was this article helpful?

Was this article helpful?