Sådan indlejrer du et TikTok-feed på din hjemmeside
TikToks egen indlejringskode dækker én video, en profil, et hashtag eller en lyd. Her kan du se, hvordan du bruger den, og hvornår en TikTok-feedwidget passer bedre.
En kunde klikker videre fra en TikTok om dit produkt. På din hjemmeside er klippet, der overbeviste dem, ingen steder at finde. De ser studiebilleder i stedet og vender tilbage til appen. Et TikTok-feed viser de klip på dine egne sider, lige ved siden af din kasse.
Sådan indlejrer du en TikTok-video: Åbn den på tiktok.com og klik på Del, derefter Indlejr. Kopiér koden og sæt den ind i en HTML-blok på din side. TikToks indlejringsside laver også kode til en profil, et hashtag eller en lyd. Vil du have et modereret feed, hvor du kan tagge produkter, så brug en TikTok-feedwidget.
I denne artikel
Sådan indlejrer du en TikTok-video
- 1Åbn videoen på tiktok.com i en browser.
- 2Klik på Del (pilen, der peger mod højre), derefter Indlejr.
- 3Kopiér koden fra pop-up-vinduet.
- 4Sæt den ind i en HTML-, kode- eller indlejringsblok på din side.
Kodestumpen er en <blockquote> plus TikToks script. Den afspiller videoen i TikToks egen afspiller med dens knapper til at følge og dele. Udviklere kan i stedet bruge TikToks oEmbed-endpoint eller dens Embed Player-iframe. Begge er beskrevet i TikToks udviklerdokumentation.
Sådan indlejrer du en TikTok-profil eller et hashtag-feed
TikTok's embed page is at tiktok.com/embed. Paste a link to a video, profile, hashtag or sound. It returns embed code for each. For your own profile, open it on tiktok.com, click the share icon and choose Embed. The profile card shows up to ten of your most recent videos.
Begrænsningen: TikTok bestemmer udseendet og rækkefølgen. Du kan ikke skjule et opslag, godkende opslag først eller tagge produkter. Det betyder mest for et hashtag, hvor alle kan poste.
Indlejring af enkelt video
Én video pr. kodestump.
Wins at
- Ingen konto eller opsætning
- TikToks egen afspiller
Struggles with
- Én kodestump pr. video
- Intet opdateres af sig selv
Indlejring af profil eller hashtag
TikToks ramme til en profil, et hashtag eller en lyd.
Wins at
- Opdateres, når der kommer nye opslag
- Intet udviklerarbejde
Struggles with
- Ingen moderering
- Ingen produkttags eller kontrol over layout
Idukki-feedwidget
Modereret TikTok-feed, hvor man kan købe direkte.
Wins at
- Brugernavne og hashtags i ét feed
- Moderering og produkttags
Struggles with
- Mere opsætning end én kodestump
TikTok-løsninger fra TikToks indlejringsside og udviklerdokumentation, tjekket 21. november 2026.
For developers: TikTok's Display API
TikTok's Display API reads a creator's profile and public videos. The creator signs in and grants two scopes: user.info.basic and video.list. Each video list call returns up to 20 videos. You then draw the grid and embed each player yourself.
| Endpoint | What it returns |
|---|---|
| /v2/user/info/ | The creator's basic profile: avatar, display name and more |
| /v2/video/list/ | The creator's recent public videos, up to 20 a call |
| /v2/video/query/ | Details of chosen videos, looked up by video ID |
There is no hashtag endpoint. So the Display API suits your own account, or creators who sign in to your app.
How to embed a live TikTok feed with a widget (Idukki)
Idukki collects public TikToks on its own servers. Add a username, a hashtag or a single video link. Posts pass AI moderation before they reach your site. New posts join the feed as the collection syncs. See the TikTok widget for layouts.
What makes the feed shoppable: tag your products to each TikTok in the dashboard. Shoppers tap the product on the video. On Shopify they add to cart from the gallery.
From TikTok post to shoppable feed
- 01
Collect
Add a TikTok username or your brand hashtag as a source.
- 02
Moderate
New posts pass moderation before anything reaches your site.
- 03
Tag
Attach catalogue products to each video so the feed can sell.
- 04
Embed
Add the Shopify app block, or paste one script tag.
Add the TikTok feed to Shopify, WordPress or any site
- Shopify: install the Idukki app and create a gallery. Add the gallery block in the theme editor. The Shopify guide has the steps.
- WordPress and WooCommerce: paste the script tag into a Custom HTML block. There is no Idukki plugin in the WordPress directory today. The WooCommerce guide covers placement.
- Custom and headless: paste the same script tag. Or read the gallery's JSON and render it yourself.
Performance: what a TikTok feed costs
Each TikTok embed loads TikTok's script and player. Six embeds on one page means six players and six sets of thumbnails. That can delay Largest Contentful Paint on mobile. Lazy-load anything below the fold, and start players on tap.
Idukki's widget runtime is 79 KB gzipped, measured on a production gallery. Grid tiles do not preload video. Measure your own page before and after; Core Web Vitals and UGC widgets shows how.
Rights: can you use customer TikToks commercially?
A customer's TikTok belongs to the customer. Using it to sell a product needs their permission. Embedding does not change that. Idukki's Rights Management writes the request for you. The creator approves on a consent page, and Idukki records it. How UGC rights and permissions work covers the law.
Embedding single videos inside articles? How to embed TikTok videos on a website goes deeper on that case.
More embed guides: YouTube feeds, Instagram feeds, LinkedIn company feeds and Google reviews. Planning a hashtag campaign first? Try the hashtag feed tool.
FAQs
How do I get the embed code for a TikTok video?
Open the video on tiktok.com. Click Share, then Embed, and copy the code.
Can I embed my whole TikTok profile?
Yes. Open your profile on tiktok.com, click the share icon and choose Embed. TikTok's embed page also works.
Can I embed a TikTok hashtag feed?
TikTok's embed page makes hashtag code. It shows posts as TikTok picks them, with no approval step. A widget lets you approve posts first.
Can I embed a TikTok feed on Shopify without an app?
Yes, by pasting TikTok's code into a Custom Liquid section. You get no product tags or moderation that way.
Does embedding TikTok videos slow down my site?
Each embed loads TikTok's script and player. Several on one page can delay loading on mobile. Lazy-load them, or use a widget that starts players on tap.
How many videos does a TikTok profile embed show?
Up to ten of the creator's most recent videos, per TikTok's developer docs.
Is there a TikTok API for a feed on my site?
Yes, the Display API. The creator must sign in to your app, and it has no hashtag search.
Do I need permission to use a customer's TikTok?
For commercial use, yes. Ask the creator and keep a record of their approval.
Sources
- 1TikTok for Developers: Embed videos · Share, then Embed, and the oEmbed endpoint. Checked 21 November 2026.
- 2TikTok for Developers: Embed creator profiles · Profile embed from the share icon; up to ten recent videos. Read 25 November 2026.
- 3TikTok Embeds · Embed code for a video, profile, hashtag or sound.
- 4TikTok for Developers: Display API overview · Three endpoints; video.list and user.info.basic scopes. Updated 4 August 2026, read 25 November 2026.
- 5TikTok for Developers: List videos · max_count defaults to 10, maximum 20. Read 25 November 2026.
- 6TikTok for Developers: Embed Player · The iframe player and its controls.
- 7Google Core Web Vitals documentation · LCP and performance thresholds referenced in the performance section
Continue reading
8 pieces in this clusterThese long-form pieces on the Idukki blog link back to this article, go deeper on the cluster.
- Embedding
How to embed an Instagram hashtag feed on your website
Instagram has no hashtag embed. The Graph API route, its limits, and a moderated hashtag feed.
- Embedding
How to embed TikTok videos on a website in 2027
TikTok is retiring its old embed code. Here is the new Embed Player, the profile embed and a wall that sells.
- Shoppable video
How to Embed a TikTok Feed on BigCommerce (Step-by-Step)
How to add a shoppable TikTok video feed to a BigCommerce store: Page Builder versus Script Manager for video, the Script Manager settings that matter (location, consent category, load method), what TikTok's official APIs cover, and how to confirm off-screen video isn't slowing your pages.
- Shoppable video
How to Embed a TikTok Feed on Shopify (Step-by-Step)
How to add a shoppable TikTok video feed to a Shopify store with theme app blocks, what TikTok's official APIs and embed player do and don't give you, and the video-loading checks that stop a TikTok carousel from slowing your product pages.
- Rights and compliance
How to legally collect UGC from Instagram and TikTok
A repost is not permission. To put a customer's photo or video on your store or in an ad you need a documented licence, with a recorded reply that grants it.
- Embedding
How to embed Google reviews on your website: 3 setups and their page-weight cost
Google's own tools, a third-party widget or a cached feed. What each loads, what Google allows, and how to measure it.
- Embedding
How to embed a YouTube feed on your website
YouTube's embed code covers one video or one playlist. For a channel feed that updates itself, use the Data API or a feed widget. Steps for each.
- Embedding
How to embed a LinkedIn company feed on your website in 2027
LinkedIn has no feed embed, only single posts. The one way to show a live company page feed, and LinkedIn's rules for post embeds.
More from Rohin Aggarwal
- Embedding
How to embed TikTok videos on a website in 2027
TikTok is retiring its old embed code. Here is the new Embed Player, the profile embed and a wall that sells.
- Embedding
How to embed an Instagram feed on your website in 2027
Old free Instagram widgets froze when Meta closed their API. The one method that still keeps a feed current, plus the code for one post.
- Embedding
How to Embed a Facebook Feed on Your Website
The official Page Plugin, the App Review process behind the Graph API, and when a moderated Facebook wall is the better answer for shoppable, multi-platform UGC.