🧑‍💻How do I embed products on my own site?

Your website + our platform = unstoppable growth. Take control of the customer experience from start to finish with embeds.

If a Sellpass-powered storefront isn't best suited for you, you're welcome to leverage all of our products through your own website. From payments to automated product delivery to customer insights, you get everything Sellpass has to offer.

Let's get started.

Embed Javascript

First, you'll have to add this snippet of code to the <head> section and we'll take care of the rest.

Embed Javascript
<script src="https://embed.sellpass.io/embed.js"></script>

Basic Button

Add this code to your button and once the customer taps the button, the embed will pop up for them to continue with the payment flow.

Basic Button
<button
  data-sellpass-product-path="SEO_PATH"
  data-sellpass-domain="your_sellpass_domain.sellpass.io"
>
  Purchase
</button>

Replace the SEO_PATH with your product path, this can be found in the SEO section of your product edit page (or its name).

Replace the domain your_sellpass_domain with your Sellpass domain (e.g: beta.sellpass.io) and not your custom domain.

If you need any assistance with getting this setup, we're more than happy to walk you through it!

Last updated