Diamra Developer Docs
All pages

Embed

When the studio is embedded on your website, it tells your page what happens inside it through postMessage, the browser standard that lets a page and an iframe talk. Each message is an object whose type starts with diamra:. Messages only travel between the studio and the page that frames it; on a direct visit to your store there is no page to talk to, so nothing is sent.

Your page's URL can also tell the studio where to start: with a product photo, or on a given view. See URL parameters.

In this part