/
Non-Shopify Widget Integration

Non-Shopify Widget Integration

To install the AI Shop Assistant widget on your e-commerce website, follow these steps:

Step 1: Open Your Website's Code

Ensure you can access your website's HTML files or insert custom scripts through your website builder or CMS.

Step 2: Locate the <head> Section

Open the main template file where you manage your website's global structure. This is typically index.html or a layout file depending on your framework.

You can use CMD + F (Mac) or CTRL + F (Windows) to search for </head> within your code.

Step 3: Insert the AI Shop Assistant Widget Script

Copy and paste the following script directly above the </head> tag:

<script src="https://widget.shopassistant-ai.com/preguide_ai.js" data-tenantid='<Please insert your tenant id here>' defer></script>

Replace <Please insert your tenant id here> with your actual tenant ID.

For Example:

<script src="https://widget.shopassistant-ai.com/preguide_ai.js" data-tenantid='prz_123123123' defer></script>

Make sure to include defer in the script tag to ensure optimal loading.

Step 4: Save and Publish

Save your changes and upload the modified file to your web server if necessary.

Step 5: Verify the Installation

Visit your website and confirm that the AI Shop Assistant widget is visible and functioning.

 

Related content