Enable merchant analytics
In the Trylora dashboard:- Open the store’s Settings tab.
- Find Analytics.
- Turn on Enable merchant analytics.
- Turn on only the destinations that exist on the storefront.
- Select Save Store Settings.
Provider requirements
Google Analytics 4
Enable Google Analytics 4 when the page exposeswindow.gtag. Trylora calls:
trylora_animation_succeeded.
Google Tag Manager
Enable Google Tag Manager when the page exposeswindow.dataLayer as an array. Trylora pushes:
Mixpanel
Enable Mixpanel when the page exposeswindow.mixpanel.track. Trylora calls mixpanel.track with the event name and product payload.
Event timing
Trylora emits an event once when a new result transitions to ready during the current widget session. It does not emit for:- A queued or running result
- A failed result
- A result that was already ready when event tracking initialized
- Browser extension mode
Verify delivery
- Confirm the provider is initialized before completing the try-on.
- Complete a new image try-on.
- Inspect the provider’s debug or real-time view for
trylora_tryon_succeeded. - Generate an animation and look for
trylora_animation_succeeded. - Confirm
trylora_product_urlidentifies the intended product.
