Shopify Installation
Add Grounded chat widget to your Shopify store.
Add the Grounded chat widget to your Shopify store to provide instant customer support.
Installation Steps
1. Access Theme Editor
- Go to your Shopify admin panel
- Navigate to Online Store > Themes
- Click Actions > Edit code on your current theme
2. Edit Theme File
- In the left sidebar, find the Layout folder
- Click on
theme.liquid - Scroll to find the closing
</body>tag - Add the widget code just before it:
<script
src="https://grounded.sh/widget/grounded-widget.js"
data-chatbot-id="YOUR_CHATBOT_ID"
async
></script>
</body>
- Click Save
Using Shopify App Blocks (Theme 2.0)
If your theme supports app blocks:
- Go to Online Store > Themes
- Click Customize
- In the theme editor, click App embeds (puzzle piece icon)
- Unfortunately, Grounded doesn't have a Shopify app yet - use the code method above
Best Practices for E-commerce
Train on Product FAQs
Add these as knowledge sources for better support:
- Shipping policy page
- Returns and refunds page
- Size guides
- Product care instructions
- FAQ page
Handle Order Inquiries
Grounded can answer general questions about your policies but cannot access order-specific information. Set up human handoff for order status inquiries.
Troubleshooting
Widget Not Showing
- Preview your theme to confirm the widget appears
- Check if any Shopify apps are blocking third-party scripts
- Verify you're editing the active theme
- Clear Shopify's cache by saving the theme file again
Mobile Display Issues
The widget is responsive by default. If you have issues:
- Check your theme's mobile CSS isn't hiding fixed elements
- Ensure no
overflow: hiddenon body/html - Test in Shopify's mobile preview mode