If you want to know how to embed TikTok ads on your Shopify store, the short answer is: you don't embed the live ad unit itself — you take the video file you built for your TikTok ad campaign and host it directly on a Shopify page using a video block, a custom HTML embed, or (if the clip is already public) TikTok's own embed code. Each method has different trade-offs for speed, control and how long the embed stays live.
What "Embedding a TikTok Ad" Actually Means on Shopify
TikTok ads run inside the TikTok app and feed, not as embeddable widgets on third-party websites. There's no official way to drop a live, paid ad unit onto a Shopify page the way you might embed a tweet. When people search for how to embed TikTok ads on a Shopify store, they almost always mean one of two things: reusing the ad creative (the video file) as on-site content, or embedding a public TikTok post that happens to also be used as a boosted ad.
Both are doable. The practical goal is the same either way: get your ad's video onto a product page, landing page, or homepage so shoppers who land from paid social see the same message that got them to click — and so organic visitors get the benefit of your best-performing creative too.
Before You Embed: Get the Right Video File
Before touching Shopify's theme editor, confirm you have a clean, downloadable MP4 of the ad — not a screen recording, not a link to a TikTok post you don't control. If your ad was built with TikTok's native creative tools or an external AI video tool, export the raw file at the highest resolution available.
A few things to check on the file itself:
- Aspect ratio — most TikTok ads are 9:16 vertical (1080×1920). That works well as a hero clip but needs a square or 16:9 cut for banners and some email or product-gallery layouts.
- File size — large, uncompressed exports slow down page load. Compress before upload; Shopify and most browsers handle H.264 MP4 well.
- Captions — if your ad relies on voiceover only, add burned-in captions before embedding. On-site autoplay is almost always muted by default, so a silent ad with no text loses its message instantly.
- Length — a 30-second ad works on a dedicated landing page or product video gallery; for a homepage hero or collection banner, consider trimming to the first 6–10 seconds as a looping teaser that links out to the full ad.
If you're starting from scratch, tools like FrameNotion generate a ready-to-use 30-second vertical ad directly from a product link, complete with captions, voiceover and music already synced — and export it as 4:5, 1:1 and 16:9 alongside the original 9:16, which saves the step of re-cropping for different store sections.
Three Ways to Embed TikTok Ad Video on Shopify
Method 1: Native Shopify video block (self-hosted MP4)
This is the most reliable option for most stores. Modern Shopify themes built on Online Store 2.0 include a video block you can drag into sections on any template.
- In your Shopify admin, go to Online Store > Themes > Customize.
- Open the page or template where you want the ad (product page, homepage, or a dedicated landing page).
- Add a section that supports video — most themes label it "Video" or "Video with text".
- Choose Upload video (not "video link") and select your ad's MP4 file from your computer.
- Set autoplay on, loop on, and mute on by default — this is required for autoplay to work on mobile browsers in most cases.
- Add a poster image (the ad's first frame works well) so the section doesn't look blank before the video loads.
- Preview on a phone before publishing — this is the device most TikTok traffic will land on.
The upload counts against your Shopify file storage, but for a single 30-second ad this is rarely a concern. The payoff is full control: no TikTok branding, no external script dependency, and the video loads from Shopify's own CDN.
Method 2: Custom HTML/Liquid video embed
If your theme doesn't have a native video block, or you want more control over styling (rounded corners, custom overlay text, a shop-now button over the video), add a custom HTML section with a standard HTML5 video tag.
- Upload the MP4 to Settings > Files in your Shopify admin and copy the generated file URL.
- In the theme editor, add a Custom Liquid section (available in most themes, or add one via the theme code editor).
- Insert a video tag pointing to the file URL, with the attributes autoplay, muted, loop and playsinline all set — playsinline is what stops the video from forcing full-screen mode on mobile.
- Wrap the tag in a container styled to a 9:16 aspect ratio so the video doesn't get cropped or stretched.
- Save, preview on mobile and desktop, and check that the video starts playing without requiring a tap.
This method takes more setup but gives you a cleaner result — no player chrome, no "watch on TikTok" branding, and a layout that matches the rest of your store.
Method 3: TikTok oEmbed code (for already-public videos)
If the ad creative is also published as a public post on your TikTok account (common with spark ads, which boost an existing organic post), TikTok provides an embed code you can paste into a page.
- Open the public TikTok video in a browser.
- Use TikTok's share options to copy the embed code.
- In Shopify, add a Custom Liquid or Custom HTML block and paste the embed code in.
- Preview the page — TikTok's embed loads its own player with TikTok branding and a link back to the app.
This is the quickest route if you don't have the raw file handy, but it has real downsides: the embed depends on the post staying public and live on TikTok (if you delete the post or the ad campaign ends and you remove the video, the embed breaks), it loads an external script that can slow the page down, and you can't customize the player's look. For a product page you plan to keep live for months, self-hosting the file (Methods 1 or 2) is almost always the better long-term choice.
| Method | Load speed | Design control | Stays live after campaign ends | Setup effort |
|---|---|---|---|---|
| Native Shopify video block | Fast (Shopify CDN) | Moderate | Yes, as long as file stays uploaded | Low |
| Custom HTML/Liquid embed | Fast (Shopify CDN) | High | Yes, as long as file stays uploaded | Medium |
| TikTok oEmbed code | Slower (external script) | Low | No, depends on the TikTok post staying public | Low |
Where to Place Your TikTok Ad Video for Best Results
Where you embed the ad matters as much as how. Match the placement to why someone clicked the ad in the first place.
- Product page, above the fold — if the ad promotes a specific product, put the same video right under or next to the gallery so the landing experience feels continuous with the ad they just saw.
- Dedicated landing page — for campaigns running a specific offer or bundle, a stripped-down landing page with the ad video as the hero keeps attention on the offer without store navigation pulling people away.
- Homepage hero (short loop) — a 6–10 second trimmed loop of your best-performing ad works well as a homepage banner for visitors arriving from organic or retargeting.
- Collection pages — if the ad promotes a category rather than one SKU, embedding it at the top of the matching collection page keeps the message consistent from ad to browse.
For a deeper look at using video across collection pages specifically, see this guide on video ads for Shopify collection pages. If your goal is shoppable video rather than a static embed, adding shoppable video ads to a Shopify store covers tagging products directly inside the clip.
Technical Checklist Before You Publish
- Video plays automatically without requiring a tap, and starts muted.
- Captions are visible and readable on a small phone screen — test at arm's length, not just on your desktop monitor.
- The video container locks to the correct aspect ratio so nothing is stretched or cropped on mobile.
- A poster image is set so the section never shows a blank box while the file loads.
- File size is compressed enough that it doesn't noticeably slow page load — check your store's speed score before and after adding the embed.
- There's a clear next step next to the video: an add-to-cart button, a shop-now link, or a product card, so the video actually drives action rather than just playing in isolation.
- The embed is tested on at least one Android and one iOS device, since autoplay and playsinline behavior can differ slightly between mobile browsers.
Common Mistakes When Embedding TikTok Ads on Shopify
A few recurring issues show up when stores try this for the first time:
- Using the TikTok embed code for a permanent page. It's fine for a short-lived campaign recap, but for anything meant to stay live long-term, host the file yourself so the embed doesn't break if the TikTok post is removed.
- Forgetting playsinline. Without it, the video can jump to full-screen mode on mobile the moment it starts, which feels jarring and can push visitors to bounce.
- Dropping an ad with no captions into an autoplay, muted section. If the ad relies entirely on voiceover, the message is lost the moment it loads muted on-page.
- Stretching a 9:16 video into a horizontal container. This distorts faces and text and looks obviously wrong — always match the embed container to the video's native aspect ratio, or pick a different crop of the ad for that section.
- Embedding a huge, uncompressed file. This is one of the fastest ways to tank page speed, which hurts both conversion and SEO.
If your goal is really to reuse TikTok-native video content (not paid ad creative specifically) across your store, this step-by-step guide to embedding TikTok videos on a Shopify store covers the organic-content side in more detail, including TikTok's native widget options.
How FrameNotion Fits In
Embedding is only useful if the underlying video is good. FrameNotion turns a product link into a finished 30-second vertical ad — hook, problem, benefit, proof, offer and call to action — with an AI voiceover, word-by-word captions and a music track cut to the beat, so the clip already works with sound off, which matters once it's autoplaying muted on a Shopify page. Every ad also renders as 4:5, 1:1 and 16:9, so you're not stuck re-cropping the same 9:16 file for a homepage banner or a horizontal email header. If the ad needs a tweak after you see it live on the page — different wording, a new color, a different hook — you can request changes without starting a new ad from scratch. The first ad is free to try, and a finished render takes about 10–20 minutes.
Once you've got a video you're happy with on a product page, the next logical step is widening its use — see how to improve Shopify conversions with video ads for placement ideas beyond the ones covered here, or check examples of ads made with FrameNotion for a sense of what a finished export looks like before you plan your embed layout.
Frequently asked questions
Can I embed a live, running TikTok ad directly on my Shopify store?+
No. Paid TikTok ad units only exist inside the TikTok app and feed — there's no embeddable iframe for a running ad. What you embed on Shopify is the underlying video file, either self-hosted or via TikTok's embed code if the post is public.
Will embedding a TikTok ad video slow down my Shopify store?+
It can, if the file is large or uncompressed. Compress the MP4 before uploading, set a poster image so the section doesn't block the rest of the page from loading, and check your store's page speed before and after adding the embed.
Do I need the viewer's permission for autoplay to work?+
Most mobile and desktop browsers allow autoplay only when the video starts muted. Set autoplay, loop and muted together, and add the playsinline attribute if you're using a custom HTML embed, so the video doesn't force full-screen on mobile.
What if I don't have the original MP4 file for my ad?+
If the ad is also a public TikTok post, you can use TikTok's embed code as a short-term fix, but the embed depends on that post staying live. For a permanent placement, it's worth re-exporting or regenerating the ad as a standalone file you control.
Should the embedded video be the full 30-second ad or a shorter clip?+
On a product page or landing page where someone is already deciding to buy, the full ad usually works. For a homepage banner or collection page where attention is split across other content, a 6–10 second looping teaser pulled from the ad's opening hook tends to fit better.
