Back to blog

Merchant embed: one script tag for product-page try-on

Oct 17, 2026TryOnAnytimeTryOnAnytime

Copy the TryOnAnytime embed snippet, use a publishable key, and let shoppers try a garment on themselves before checkout.

For storefronts that want try-on without rebuilding checkout:

<script
  src="https://tryonanytime.com/embed.js"
  data-tryon-key="pk_…"
  data-tryon-garment="https://your-shop.com/shirt.jpg"
  async
></script>
  1. Create a publishable key in settings and allowlist your domains.
  2. Point data-tryon-garment at the product image shoppers see.
  3. Keep payment on your site — the widget only handles try-on.

Full walkthrough: /embed.