C4UChat4U Docs
Install

Install on Shopify

Add the generated Chat4U snippet to the active Shopify theme layout.

1 min read

Where to do this in Chat4U
  1. Project
  2. Assistant
  3. Install code

Open the intended assistant and select Install code before adding the generated script to the live Shopify theme.

Look forAssistantInstall codeCopy
Open Chat4U
What you’ll accomplish

Install the generated code in the active theme, then prove it works on the published storefront.

Finish with
A widget in the Shopify theme visitors actually receive
  1. Edit the active themeOpen the published theme’s `theme.liquid`, not an inactive draft.

    In Shopify’s theme code editor, open the active theme’s theme.liquid layout file.

  2. Paste and save the exact snippetPlace the complete generated code immediately before `</body>`.

    Keep a record with the theme change; do not modify or partly copy the snippet.

  3. Test the published storefrontUse an allowed visitor hostname, not only a theme preview.

    If another theme becomes active later, repeat the installation in that published theme.

Last updated on