Shopify Video · May 2026

How to Embed YouTube Videos on Shopify
(2026 Guide)

Three real methods, when each makes sense, and the page-speed and tracking pitfalls that bite merchants who don't think through the second-order effects.

Trusted by 2500+ brands, Globally ❤️

Nish Hair logo
Nandog logo
Interior Delights logo
Sunaofe logo
Bcouture logo
Maku The Label logo
House of Masaba logo
Suta logo
Alexel logo
Milton logo
Skyn logo
Minimalist logo
Nasher Miles logo
Petite logo
Sauna Place logo
Rubans logo
Thomas Scott logo
Flo Mattress logo
Dermatouch logo
Whole Truth logo
Nish Hair logo
Nandog logo
Interior Delights logo
Sunaofe logo
Bcouture logo
Maku The Label logo
House of Masaba logo
Suta logo
Alexel logo
Milton logo
Skyn logo
Minimalist logo
Nasher Miles logo
Petite logo
Sauna Place logo
Rubans logo
Thomas Scott logo
Flo Mattress logo
Dermatouch logo
Whole Truth logo
Nish Hair logo
Nandog logo
Interior Delights logo
Sunaofe logo
Bcouture logo
Maku The Label logo
House of Masaba logo
Suta logo
Alexel logo
Milton logo
Skyn logo
Minimalist logo
Nasher Miles logo
Petite logo
Sauna Place logo
Rubans logo
Thomas Scott logo
Flo Mattress logo
Dermatouch logo
Whole Truth logo
llustration showing youtube video

YouTube is the easy case among video platforms — Shopify natively supports YouTube embedding, no app required for most use cases. The question worth asking isn't how but whether the default is the right answer for your store. Often it isn't.

This guide covers the three real methods, when each makes sense, and the page-speed and tracking pitfalls that bite merchants who don't think through the second-order effects.

The three ways to embed YouTube on Shopify

Method Time to install Best for Player branding
1. Shopify native URL embed 2 min Single video on PDP YouTube branding visible
2. iframe embed code 5 min Specific page or blog post placements YouTube branding, more control
3. App-based (Whatmore, Videowise, Tolstoy) 30 min Multi-video PDPs, shoppable tagging, retargeting Custom-branded

For 70% of merchants, Method 1 is enough. The other two have specific use cases worth knowing.

Method 1: Shopify native URL embed (recommended for most stores)

llustration showing youtube video

Shopify's product media library lets you paste a YouTube link directly. It generates the embed automatically.

Steps:

  1. In Shopify Admin, go to Products and select your product
  2. Scroll to the Media section
  3. Click Add from URL
  4. Paste the YouTube video URL
  5. Save

The video appears in the product's image carousel. Customers can play it inline on the PDP.

When this works:

  • A single product demo or unboxing video per SKU
  • A brand intro video on a campaign landing page
  • Any case where the standard YouTube player is acceptable

Limitations to know:

  • YouTube branding is visible. The "Watch on YouTube" link and YouTube logo appear in the player. For brands that care about a clean shopping experience, this can be a downside.
  • No product tagging. The embed is a media asset, not a conversion mechanism. You can't tag products on the video for direct add-to-cart.
  • YouTube's own end-screen. When the video ends, YouTube shows related video suggestions — including potentially competitor brands.
  • Analytics live in YouTube, not Shopify. You can see view counts in YouTube Analytics, but you can't attribute the YouTube view to a Shopify purchase without custom event tracking.

For most stores, these tradeoffs are fine. For brands that treat the product page as a controlled funnel, they aren't.

Method 2: iframe embed code

YouTube provides an iframe embed code that gives you more control than the native Shopify URL embed.

Get the code:

  1. On YouTube, open the video you want to embed
  2. Click Share > Embed
  3. Copy the iframe code

The code looks like:

<iframe
  width="560"
  height="315"
  src="https://www.youtube.com/embed/VIDEO_ID?rel=0&modestbranding=1"
  frameborder="0"
  allow="autoplay; encrypted-media"
  allowfullscreen>
</iframe>

Paste it where:

  • Pages (Online Store > Pages > [page] > rich-text editor > HTML view)
  • Blog posts (same approach)
  • Product description (with rich text HTML)
  • Theme code (for PDPs and templated layouts, requires Liquid familiarity)

Why this method over Method 1: The iframe URL accepts parameters that the Shopify native embed doesn't expose:

Parameter Effect
rel=0 Hide related videos at the end
modestbranding=1 Reduce YouTube logo prominence
controls=0 Hide player controls
autoplay=1 Auto-play on page load (muted required)
mute=1 Start muted
loop=1&playlist=VIDEO_ID Loop the video

For a brand-intro autoplay video on a landing page, the iframe method with rel=0&modestbranding=1&autoplay=1&mute=1&loop=1 gets you a much cleaner experience than the default Shopify embed.

Limitations: Still YouTube-hosted, so YouTube branding is never fully removable. No product tagging. Requires theme code work for PDPs (which most merchants want to avoid).

Method 3: App-based YouTube embedding

For specific jobs — shoppable video, custom branding, multi-video PDPs, retargeting integration — an app is the right call.

When this method wins:

  • Shoppable tagging. You want products tagged on the YouTube video so customers add-to-cart without leaving the page.
  • Custom-branded player. No YouTube logo, no "watch on YouTube" link, no end-screen suggestions for competitor videos.
  • Multiple videos per PDP. A vertical carousel of YouTube clips, easier to manage via app than via custom theme code.
  • Retargeting integration. Pushing video engagement events to Meta Events Manager so YouTube-watching shoppers become a high-intent retargeting audience.

Apps that handle YouTube embedding well include Whatmore, Videowise, and Tolstoy. For the broader picture across all shoppable video tools, see our best shoppable video platforms comparison . Each has a different angle:

Whatmore auto-syncs YouTube content from a connected channel, applies smart product matching to tag each video to the right SKU, and pushes engagement events to Meta. Best for brands with active YouTube content and paid social campaigns running in parallel.

Videowise focuses on the player experience — clean, custom-branded, fast-loading. Best when player aesthetics matter more than auto-sync.

Tolstoy focuses on interactive video paths (branch logic, multi-CTA). Best for product education and decision-tree-style content.

Customer example

The Whole Truth's product-education case study surfaces YouTube product-education content directly on PDPs with auto-tagged products via Whatmore.

Install Whatmore on your Shopify store →

Page speed and tracking pitfalls

Two things that bite merchants who don't think them through:

Page speed. Native YouTube iframes are not lightweight. A single embedded YouTube video adds 600 KB+ of JavaScript and a few hundred ms of Total Blocking Time on mid-range mobile. Stack two or three on a single PDP and you'll see meaningful LCP degradation.

The fix is lazy-loading — don't load the YouTube embed until the user scrolls toward it or clicks a placeholder. Most modern apps do this automatically. Manual iframe embeds usually don't, unless you add a wrapper script.

Tracking attribution. Shoppers who watched your YouTube video on Shopify and then bought are an attribution puzzle. Native YouTube embeds don't fire any events into your analytics or ad platforms. You won't know which videos drove conversions without manual event setup.

Apps solve this by capturing engagement events and pushing them into Shopify Analytics, GA4, and Meta Events Manager automatically.

What to do next

If you have one or two YouTube videos and the default player experience is acceptable, use Method 1 (Shopify native URL embed). Two minutes per video.

If you want more control over the player but don't need shoppable tagging or retargeting, use Method 2 (iframe with parameters).

If you're treating YouTube as a real content channel with shoppable PDPs, custom branding, and ad retargeting — install Whatmore and let auto-sync handle the lift.

For the broader picture on Shopify video, see our complete guide to shoppable video platforms .

Ready to install? Try Whatmore free on your Shopify store — no credit card required.

Book a Demo →
For questions or feedback, contact us.

FAQs

  • Yes. In the product Media section, click Add from URL and paste the YouTube link. Shopify handles the embed automatically.

  • You can reduce branding using iframe parameters (modestbranding=1&rel=0) but you can't remove it fully. For a fully branded player, you need an app like Whatmore or Videowise that proxies the video through a custom player.

  • That's YouTube's default end-screen behaviour. Add ?rel=0 to the iframe URL to hide related videos. Note that rel=0 no longer fully suppresses suggestions in YouTube's current API — it limits them to your channel, which is still better than fully unrestricted.

  • Not with the native embed. You need an app with shoppable tagging (Whatmore, Videowise) to tag products on the video so customers can add-to-cart without leaving the page.

  • Yes, materially, if not lazy-loaded. A single YouTube iframe adds 600 KB+ of JS and noticeable TBT on mobile. Apps that lazy-load avoid the impact; manual embeds without lazy-loading don't.

See More