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
1
Open Google Tag Manager
Log into tagmanager.google.com and open
the container associated with your Shopify store.
2
Create a new Custom HTML tag
- Click Tags → New.
- Name the tag
Wearo Widget. - Click on Tag Configuration → Custom HTML.
3
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.4
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/.*).
5
Save and publish
- Save the tag.
- Click Submit in the top right.
- Add a version name like
Add Wearo widgetand publish.
6
Verify it works
Open your store in an incognito tab, navigate to any product page.
You should see the “Try it on” button next to the product image.Back in your Wearo dashboard → Analytics, the “Widget Displayed” counter
should increment on each product page view.
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.