Deploy the Certainly Widget on Shopify

In this article, we'll explain how to embed one of your Certainly bots on your Shopify site. The bot will inherit some metadata from Shopify, such as the logged-in user name, email, and active orders. This way, you can provide a better user experience to your chat visitors.

Please follow the steps below for successful configuration on Shopify. 

  1. As an admin, navigate to your Theme's code. You can read about this in Shopify's documentation.

  2. Open the theme.liquid file under Layout, and locate the </body> tag:
    13-_Theme_liquid_body_tag.png

  3. Paste the following snippet right before the </body> tag:

You must make sure to change the bot ID to your own Certainly bot ID. You can find your bot deployment ID in the widget script. Remember to save your changes!

In the end, it should look like this:

14b-_Shopify_theme__w_Snippet.png

From now on, you should see the Certainly Widget pop up in the bottom right corner of your Shopify store. Every time you publish your bot from the Certainly Platform, it will be updated immediately on the website.