## Overview

The Snippet Code feature allows you to manually display a ReelPik video section on your storefront by inserting a snippet into your Shopify theme. This gives you greater flexibility to place the video section exactly where you want, especially for vintage themes that do not support Shopify App Blocks.

## How to add the snippet code

### Step 1: Open your campaign and copy the code

![](https://chat.fordeercommerce.io/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBhZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--97b2ab1a0d1c7b032e4a98b5babca4da3259c90b/image.png)

1. Go to **ReelPik Videos** → **Campaigns**.

2. Open the campaign you want to display.

3. Copy the campaign snippet.

### Step 2: Enable the app embed

![](https://chat.fordeercommerce.io/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBhdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--646ee8b8cf1914602c40f10f98768d04da70a2af/image.png)

1. Go to **Online Store → Themes → Customize**.

2. Click the **App embeds** icon in the left sidebar.

3. Enable **ReelPik Videos**.

4. Click **Save**.

The App Embed must be enabled for the video section to work properly.

### Step 3: Edit your theme code

![](https://chat.fordeercommerce.io/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBiQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--051fe9b691081e251ab08f5665108b0fc4e21e5b/image.png)

1. Go to **Online Store → Themes →** Click **••• → Edit code** on your published theme.

2. Open the Liquid file where you want the video section to appear.

3. Paste the copied snippet into the desired location.

4. Click **Save**.

You can adjust the spacing by edting the snippet code. Example: "style="margin-top: 50px;"

### Step 5: Verify the video section

![](https://chat.fordeercommerce.io/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBiUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--eedb27bde9d97513c29ef637d45d567aaf20b2ac/image.png)

1. Refresh your storefront.

2. Confirm that the video section appears in the expected location.

3. If necessary, move the snippet to a different position in the Liquid file to adjust where the video section is displayed.

## Best Practices

For the best experience, we recommend:

* Add the snippet only to the pages where you want the video section to appear.

* Test the layout on both desktop and mobile devices.

* Preview your theme after making changes before publishing.

## Notes

* Snippet code is only required for **vintage themes** that do not support Shopify App Blocks.

* Each campaign has its own unique snippet code.

* If you want to display multiple video sections, add the corresponding snippet for each campaign.

* Editing theme code requires basic knowledge of Shopify Liquid.

* If you're unsure where to place the snippet, contact our support team for assistance.


We value your feedback — it helps us continuously improve our apps and provide you with a better experience.

🖥️ **Demo store:** Check out [here](https://reelpik.myshopify.com) with password: 1

👉 **Chat with us:** [Share your feedback](https://go.crisp.chat/chat/embed/?website_id=94aa7d91-5a4a-42db-bcf9-e68aa4393c3c) directly with our team.\
👉 **Email us:** [hi@reelpik.com](mailto:hi@reelpik.com)\
👉 **Explore more apps:** Discover more [Fordeer apps](https://apps.shopify.com/partners/fordeercommerce?utm_source=support&utm_medium=helpdesk).\
👉 **Join our community:** Join [ForDeer Community](https://www.facebook.com/groups/ecommerce.beginners.community/) to get the latest updates, tips, and special deals.

🕐 **Working hours:** 8:30 AM – 5:00 PM (UTC+7), Monday–Friday.\
We typically reply to live chats within minutes and emails within a few hours.

Need help? Feel free to reach out anytime via live chat or email!