Video Walkthrough
How to Add the Widget Script
Option 1: Edit Theme Code
- Go to Online Store > Themes.
- Click the ”…” (Actions) button on your active theme, then select Edit Code.
-
Open the
theme.liquidfile. -
Copy your widget script from your agent’s Channels page at supportunicorn.com and paste it just before the closing
</body>tag. - Click Save.
Option 2: Custom Pixel (for Tracking Scripts)
For tracking and analytics scripts, Shopify now recommends using Custom Pixels for better privacy compliance:- Go to Settings > Customer Events.
- Click Add custom pixel.
- Name it and paste your script code.
The Custom Pixel approach is primarily for tracking scripts. For the live chat widget, use the theme code method above.
Next Steps
Widget Configuration
Customize widget appearance and behavior