# Add Shoprocket to an Unbounce landing page

> Sell from an Unbounce landing page. Drag a Custom HTML element onto the page, paste your embed code, save, and republish. The cart and checkout open on the page itself.

Help Centre / Embedding - Updated 19 November 2026

You can sell straight from an Unbounce landing page with Shoprocket. You make an embed in Shoprocket, then paste its code into a **Custom HTML** element on your page. Customers add to cart and check out without leaving the page.

## Before you begin

- Add at least one active product in Shoprocket.
- These steps are for pages made in Unbounce's **Classic Builder**, which has the **Custom HTML** element.

## Step 1: Get your embed code

1. In your Shoprocket dashboard, go to **Embeds** and click **New embed**.
2. Choose what it shows and a layout, then click **Continue**.
3. Click **Save & get code**, then **Copy code**.

![The Get code panel with site builder tabs, the embed code and the Copy code button](https://shoprocket.io/img/help/embed-on-any-website/get-code.webp)

For a landing page, one product with a **Card** or **Feature** layout usually works best. For more on the layouts, see [Embed Shoprocket on any website](https://shoprocket.io/help/embed-on-any-website.md).

## Step 2: Paste the code into a Custom HTML element

1. In Unbounce, open your landing page in the builder.
2. Drag a **Custom HTML** element from the left of the builder to where the shop should go.
3. Paste your code into the box that opens, and save it.
4. Resize the element so it is big enough for your embed.
5. Click **Save**, then publish the page again.

The builder shows only a box, not your shop. Open your published page, or its preview, to see the shop.

## Step 3 (optional): Load Shoprocket in the page head

A landing page is usually one page, so the embed code alone is enough. If you have several Unbounce pages and want the floating cart on all of them, add the site-wide line once with Unbounce's script settings.

1. In Shoprocket, go to **Embeds** and click **Copy** on the **Add Shoprocket to every page of your site** card.
2. For one page: open the page in the builder, click **Javascripts** at the bottom, add a new script, paste the line, and place it in the head.
3. For every page on your domain: in Unbounce, go to **Settings**, then **Script Manager**, and add a **Custom Script** with the line.
4. Republish your pages, then open one. Back in **Embeds**, the card changes from **Not seen yet** to **Connected**.

Once the line is on a page, the Custom HTML element only needs the last line of your embed code, the one starting `<div`.

## If the shop doesn't appear

- **You are looking at the builder.** Unbounce doesn't run code while you edit. Open the published page.
- **You didn't republish.** Changes reach your live page only after you republish it.
- **The element is too small.** Make the Custom HTML element taller so the whole embed fits.

## Related

- [Embed Shoprocket on any website](https://shoprocket.io/help/embed-on-any-website.md)
- [Embed one product or a category](https://shoprocket.io/help/embed-a-single-product-or-category.md)
- [Sell from a site that doesn't allow code](https://shoprocket.io/help/sell-from-a-site-that-doesnt-allow-code.md)

[Open Embeds in your dashboard](https://app.shoprocket.io/go/embeds)

---

- HTML version: https://shoprocket.io/help/add-shoprocket-to-unbounce
- Language: English (en)
- Also in: [العربية](https://shoprocket.io/ar/help/add-shoprocket-to-unbounce.md), [Deutsch](https://shoprocket.io/de/hilfe/shoprocket-zu-unbounce-hinzufuegen.md), [Ελληνικά](https://shoprocket.io/el/help/add-shoprocket-to-unbounce.md), [Español](https://shoprocket.io/es/ayuda/anadir-shoprocket-a-unbounce.md), [Français](https://shoprocket.io/fr/aide/ajouter-shoprocket-a-unbounce.md), [עברית](https://shoprocket.io/he/help/add-shoprocket-to-unbounce.md), [हिन्दी](https://shoprocket.io/hi/help/add-shoprocket-to-unbounce.md), [Bahasa Indonesia](https://shoprocket.io/id/bantuan/tambahkan-shoprocket-ke-unbounce.md), [Italiano](https://shoprocket.io/it/aiuto/aggiungere-shoprocket-a-unbounce.md), [日本語](https://shoprocket.io/ja/help/add-shoprocket-to-unbounce.md), [Lietuvių](https://shoprocket.io/lt/pagalba/shoprocket-unbounce-nukreipimo-puslapyje.md), [Norsk](https://shoprocket.io/nb/hjelp/legg-shoprocket-til-pa-unbounce.md), [Nederlands](https://shoprocket.io/nl/hulp/shoprocket-toevoegen-aan-unbounce.md), [Polski](https://shoprocket.io/pl/pomoc/dodaj-shoprocket-do-unbounce.md), [Português](https://shoprocket.io/pt/ajuda/adicionar-shoprocket-ao-unbounce.md), [Română](https://shoprocket.io/ro/ajutor/adauga-shoprocket-pe-unbounce.md), [Русский](https://shoprocket.io/ru/help/add-shoprocket-to-unbounce.md), [ไทย](https://shoprocket.io/th/help/add-shoprocket-to-unbounce.md), [Türkçe](https://shoprocket.io/tr/yardim/shoprocket-unbounce-acilis-sayfasina-ekleme.md), [中文](https://shoprocket.io/zh/help/add-shoprocket-to-unbounce.md)
