How do I embed my live shopping event on my website?

What is the Embed Experience?

The Embed Experience with Picture in Picture (PIP) feature allows your live event to open on directly your native website's page. Then, as customers navigate on your website, the event will seamlessly appear in a floating window.

How to Embed your Live Event?

Step 1: Picture in Picture (PiP) Script 

Paste one of the two code options below before the </head> on the page(s) you would like your event's embed experience to be shown.

Option A (for PiP experience on bottom right):

<script id="livescale-embed" src="https://diva.livescale.tv/shop/embedded-app/embedded-app.js"></script>

Option B (for PiP experience on top left):

<link rel="stylesheet" href="https://pip-css.livescale.workers.dev/pip.css?top=20&left=20" crossorigin="anonymous" /> <script id="livescale-embed" src="https://diva.livescale.tv/shop/embedded-app/embedded-app.js?v=1"></script>

What is this? This code is responsible for the PiP (Picture in Picture) experience, which is a feature that allows viewers to keep watching the Live Event in a floating window while navigating in different tabs. This code goes on the page(s) where you would like your event’s embed experience to be shown.

Pro Tip: To choose between Option A and Option B, take a look at the positioning of the action buttons (e.g. “add to cart”) on your website. Make sure to pick the option that will not overlap with any of these important actions. 

Step 2: CTA Embedding Script 

Paste the link below on your website's chosen CTA button(s) or anywhere you'd like to create an embedded viewing experience.

<a href=[https://shop.livescale.tv/your_event_id]/?embed=true></a>

*Replace [https://shop.livescale.tv/your_event_id] with the event URL you created.

Where to find this? You will find this event URL inside the Livescale platform. Go to

your event's control room, click on the ellipsis menu, then "Embed". Go to Step 3

(Link) and copy the link.

Screenshot 2023-05-09 at 10.15.54 AM

*For example: You will add the event id "spring_summer" at the end of the event url:

<a href=[https://shop.livescale.tv/spring_summer]/?embed=true></a>

Note: Do not use “livescale” in your event URL, even if it’s a test event. The script may not fire as expected, as “livescale” is reserved for overlay in Step 1. Instead, use “live-scale” if you must, or something else. 

Step 3

Test, test, test. Try the viewing experience on different devices to ensure the website is compatible with the embed feature.