<script defer src="https://clove-widgets.vercel.app/loader.js"></script>
<div data-widget data-widget-type="home"></div>
<div data-widget data-widget-type="product"></div>
<div data-widget data-widget-type="checkout"></div>
On checkout the recycleUpdated event will be emitted. You can listen to this event to get the the name, price and url of the selected item.
<script> document.addEventListener('recycleUpdated', (event) => { console.log('recycleUpdated', event.detail); }); <script>