Install on Shopify via Google Tag Manager
This is the method used by Kookai in production. It takes 5 minutes and doesn’t require editing your theme code.Prerequisites
- A Wearo account (sign up)
- Your Wearo API key (get yours)
- Google Tag Manager installed on your Shopify store
- Publishing rights on your GTM container
Open Google Tag Manager
Log into tagmanager.google.com and open
the container associated with your Shopify store.
Create a new Custom HTML tag
- Click Tags → New.
- Name the tag
Wearo Widget. - Click on Tag Configuration → Custom HTML.
Paste the Wearo snippet
GTM defers script execution, so use the queue pattern to avoid race conditions:Replace
wearo_xxx... with your API key, and brandColor with your brand’s hex color.Set the trigger
- Click on Triggering → All Pages (built-in trigger).
- Or, for better performance, create a custom trigger that fires only on product pages
(URL path matches RegEx
/products/.*).
Save and publish
- Save the tag.
- Click Submit in the top right.
- Add a version name like
Add Wearo widgetand publish.
Troubleshooting
Switching to the Shopify Public App (when available)
When the Wearo Shopify App launches, you’ll be able to migrate by:- Installing the app from the Shopify App Store
- Removing the GTM tag
Need help?
Book a 30-min integration call
We’ll review your store and set up Wearo live with you.