TikTok Embed
TikTok Embed is the official iframe that lets you display a public TikTok video inside another website. The embed loads embed.js from www.tiktok.com, sets ByteDance tracking cookies (tt_webid, tt_csrf_token, _ttp, msToken, ttwid) and transmits the visitor IP, User Agent and referring URL to TikTok as soon as the iframe initialises. The Irish DPC fined TikTok 345 million euros in September 2023 and 530 million euros in May 2025 over EU to China transfers, and EU regulators classify the embed as a high risk processing activity requiring prior consent under the ePrivacy Directive.
What does TikTok Embed do?
How the TikTok embed actually works
The TikTok embed is loaded by including a script tag pointing to www.tiktok.com/embed.js plus a blockquote referencing the video URL. As soon as the script executes, the visitor browser opens connections to www.tiktok.com, p16 sign.tiktokcdn us.com and several supporting CDN domains, downloads the player, and lets TikTok set and read its tracking identifiers. The interaction is technically equivalent to opening the video on tiktok.com itself, only inside an iframe on your domain. ByteDance therefore receives the visitor IP, User Agent, language, time zone, referring URL and any cookies previously set on tiktok.com.
What data the embed shares with TikTok and ByteDance
TikTok sets a stack of tracking cookies including tt_webid and tt_webid_v2 (device identifiers), tt_csrf_token (CSRF protection), _ttp (TikTok Pixel identifier when the Pixel is enabled on the operator site), msToken (anti scraping and session token), ttwid (web identifier), and passport_csrf_token / passport_auth_status_ss when the visitor is logged in. The embed view is logged in TikTok analytics and contributes to the recommendation graph. When the operator also runs a TikTok Pixel on the same domain, the embed and the Pixel can be correlated to enrich the ByteDance profile of the visitor.
GDPR, ePrivacy and the Irish DPC decisions
The TikTok embed is not strictly necessary to the requested service, so Article 5(3) of the ePrivacy Directive requires prior opt in consent before any cookie is written or any script is loaded. The Irish DPC decision of 1 September 2023 fined TikTok 345 million euros for child data and transparency failures and, in May 2025, the same authority added 530 million euros for transfers of EEA user data to China. EU regulators consistently flag TikTok integrations as high risk, especially when the audience may include minors.
Project Clover, China access and risk assessment
Project Clover commits TikTok to storing EEA user data on Oracle infrastructure inside the EU, with a third party security trustee (NCC Group) auditing access. The project is still being rolled out and ByteDance personnel in China retain controlled remote access for engineering, content moderation and trust and safety. Until Project Clover is fully audited and EDPB endorsed, the embed must be treated as a high risk transfer to a non adequate third country. A DPIA is required in most cases and operators in regulated sectors should avoid the embed.
Practical compliance and safer alternatives
Implement a click to load placeholder that is opt in by default, expose TikTok in the consent banner as a social media or advertising vendor, and only inject the embed after granular consent. Avoid using TikTok embeds on pages aimed at minors. Update the privacy policy with the link to TikTok privacy terms, the list of cookies and the disclosure of the transfer to ByteDance. Safer alternatives include hosting an MP4 of the video on your own CDN under the creator licence, using a static thumbnail with a link to the TikTok URL, or relying on a server side proxy that fetches the video without contacting TikTok from the visitor browser.
TikTok Embed and the GDPR
TikTok Embed is classified as “Marketing”. On a site that targets European visitors, it must only load after the visitor consents, and it must be listed in your cookie policy.
- Legal basis
- Article 6(1)(a) GDPR (consent). The embed loads scripts from www.tiktok.com that read and write tracking identifiers and is not strictly necessary to the user requested service. Article 5(3) of the ePrivacy Directive therefore requires prior opt in consent before the embed is allowed to run.
- Risk level
- high
- Applicable regulations
- GDPR, ePrivacy Directive, French CNIL guidance on social plugins, German TTDSG, Spanish LSSI, Schrems II case law, Irish DPC 2023 and 2025 decisions on TikTok, Digital Services Act (TikTok is a designated VLOP), Project Clover commitments, EU US Data Privacy Framework
Impact assessment (DPIA)
A DPIA is required for the TikTok embed on most EU facing properties. The combination of large scale processing by ByteDance, possible inferences of special category data through the videos consumed and historic transfers to China make this a high risk activity. Following the Irish DPC 2023 and 2025 decisions, operators must document the lawful basis, the consent flow, the residual risk after Project Clover, the categories of data transferred and the safer alternatives evaluated.
Sample text for your banner
We embed videos from TikTok. Loading this embed shares your IP address, User Agent and browsing context with TikTok and ByteDance and may involve transfers outside the EEA. The embed only loads after you accept advertising and social media cookies.
What TikTok Embed sets and contacts
- Tracking method
- JavaScript embed loaded from www.tiktok.com (TikTok oEmbed iframe with embed.js), first party cookies set by TikTok / ByteDance on tiktok.com, server side oEmbed API for content fetching, optional pairing with the TikTok Pixel on the operator domain
- Server location
- TikTok Ireland Ltd is the EEA controller. Project Clover commits to storing EEA user data on Oracle infrastructure inside the EU, with NCC Group as security trustee. ByteDance Ltd in China retains controlled remote access for engineering, moderation and trust and safety.
- Data transferred outside the EU
- TikTok is owned by ByteDance Ltd in Beijing, with operational headquarters in Singapore and the US. Project Clover migrates EEA visitor data to EU data centres but ByteDance personnel in China retain controlled access. The Irish DPC fined TikTok 345 million euros in September 2023 over child data and transparency failures and, in May 2025, an additional 530 million euros over transfers of EEA user data to China. The embed must therefore be treated as a high risk transfer to non adequate third countries.
Cookies set (7)
| Name | Type | Duration | Purpose |
|---|---|---|---|
| tt_webid | http | 12 months | TikTok device identifier set by www.tiktok.com when the embed loads. Used for analytics, recommendations and fraud prevention. |
| tt_webid_v2 | http | 12 months | Newer TikTok device identifier used alongside tt_webid for cross session recognition. |
| tt_csrf_token | http | Session | CSRF token paired with TikTok requests to prevent cross site request forgery on actions performed inside the embed. |
| msToken | http | ~30 minutes | Anti scraping and short lived session token rotated on every interaction with TikTok endpoints. |
| ttwid | http | 12 months | TikTok web identifier used to track the device across TikTok properties and recommend content. |
| _ttp | http | 13 months | TikTok Pixel identifier. Set on the operator domain when a TikTok Pixel is installed and shared with the embed to correlate visits. |
| passport_csrf_token | http | 6 months | TikTok login session protection cookie set when the visitor is authenticated, linking the embed view to a TikTok account. |
Third-party domains contacted (7)
tiktok.comwww.tiktok.comp16-sign.tiktokcdn-us.comp16-sign-va.tiktokcdn.commssdk.tiktokv.combyteoversea.comtiktokcdn.com
Frequently asked questions about TikTok Embed
Can't find your question? Write to us, we answer fast.
What cookies does the TikTok embed set?
When the embed loads, www.tiktok.com sets ByteDance tracking cookies including tt_webid and tt_webid_v2 (device identifiers, 12 months), tt_csrf_token (CSRF protection), msToken (anti scraping and session, around 30 minutes), ttwid (TikTok web identifier, 12 months), and _ttp when the operator also runs a TikTok Pixel. Logged in visitors trigger additional passport cookies tying the embed view to a TikTok account.
Does the TikTok embed require user consent?
Yes. The embed loads scripts and writes tracking cookies and is not strictly necessary to the service. Article 5(3) of the ePrivacy Directive requires prior opt in consent, and the EDPB clarifies that consent must be specific, informed and granular. The standard implementation is a two click placeholder served from your own domain that only loads the iframe after the visitor accepts.
What is the legal basis for the data shared with TikTok?
The only realistic legal basis is consent under Article 6(1)(a) GDPR. Legitimate interest is not available because the embed enables large scale profiling by ByteDance and exposes the visitor to potential transfers to China. TikTok itself relies on additional bases for its own processing, but the website embedding the iframe is responsible for collecting consent before any data leaves the visitor browser.
Does the TikTok embed transfer data to non EU countries?
Yes. Even with Project Clover migrating EEA user data to Oracle data centres in Europe, ByteDance personnel in China retain controlled access. The Irish DPC fined TikTok 345 million euros in 2023 and 530 million euros in 2025 specifically over transfers and child data. The embed must be treated as a high risk transfer to non adequate third countries and disclosed accordingly in the privacy policy.
Is a DPIA needed for the TikTok embed?
Yes in most cases. The combination of large scale processing by ByteDance, possible inference of special category data through the consumed videos, and historic China transfers exceeds the threshold of Article 35 GDPR. The DPIA must document the necessity of the embed, the lawful basis, the consent mechanism, the residual risk under Project Clover, and the safer alternatives evaluated. Operators in regulated sectors should generally avoid the embed.
How do I implement the TikTok embed in a compliant way?
Block the embed by default and replace it with a click to load placeholder served from your own domain that explains the data flow to TikTok. Expose TikTok in the consent banner as a social media or advertising vendor and only inject the iframe after granular consent. Document the processing in your privacy policy with the cookie list, the link to TikTok privacy terms and the China transfer disclosure. Avoid the embed entirely on pages with minor audiences.
What are safer alternatives to the TikTok embed?
Common alternatives include downloading the MP4 of the video with the creator authorisation and hosting it on your own CDN, displaying a static thumbnail that links to the TikTok URL, or using a server side proxy that fetches the video without exposing the visitor browser to TikTok endpoints. For curation use cases, an EU based video host (PeerTube, Vimeo with EU residency, Bunny Stream) can replace TikTok integration entirely.
How do I update my cookie policy to include the TikTok embed?
Add TikTok and ByteDance Ltd as data recipients, list the cookies set by www.tiktok.com (tt_webid, tt_webid_v2, tt_csrf_token, msToken, ttwid, _ttp, passport variants) with their duration and purpose, disclose the transfer outside the EEA and to China, mention Project Clover and reference the Irish DPC decisions. Refresh the entry whenever TikTok updates its disclosures.
Bazaarvoice Curation
Bazaarvoice Curation is a digital marketing technology that helps businesses reach, engage, and convert their target audience online. It provides advanced targeting, campaign management, and performance analytics capabilities. Bazaarvoice Curation enables marketers to deliver personalized experiences across channels, optimize campaign ROI, and gain actionable insights into customer behavior. With automation features and data-driven optimization, Bazaarvoice Curation empowers marketing teams to achieve.
LinkedIn Share
LinkedIn Share is a marketing platform that equips businesses with tools to amplify their digital presence and drive customer acquisition. It supports audience segmentation, campaign automation, and cross-channel engagement. LinkedIn Share provides real-time analytics and reporting dashboards for performance measurement and strategy optimization. By combining data intelligence with marketing execution, LinkedIn Share helps deliver the right message to the right audience at the right time.
OneAll
OneAll is an analytics and measurement platform providing deep insights into digital ecosystem performance. It tracks user interactions, measures campaign effectiveness, and identifies optimization opportunities across web and mobile. OneAll offers customizable dashboards, automated alerts, and data export capabilities. By transforming raw data into actionable intelligence, OneAll empowers organizations to optimize strategy and maximize return on investment.
Sharpay
Sharpay is a web technology service that provides essential functionality for websites and digital platforms. It delivers core capabilities that support site operations, content delivery, and user experience optimization. Sharpay integrates seamlessly with modern web architectures, ensuring reliable performance and compatibility across browsers and devices. Trusted by businesses worldwide, Sharpay helps organizations maintain robust websites that meet user expectations and technical requirements.
SnapWidget
SnapWidget is a foundational web service that powers critical website functions and digital experiences. It provides reliable infrastructure, seamless integration capabilities, and consistent performance across all devices and browsers. SnapWidget supports modern development practices and scales with growing business needs. With a focus on stability and compatibility, SnapWidget ensures your website delivers a smooth, uninterrupted experience to every visitor and search engine crawler.
Embedly
Embedly is a foundational web service that powers critical website functions and digital experiences. It provides reliable infrastructure, seamless integration capabilities, and consistent performance across all devices and browsers. Embedly supports modern development practices and scales with growing business needs. With a focus on stability and compatibility, Embedly ensures your website delivers a smooth, uninterrupted experience to every visitor and search engine crawler.
Make your site compliant today.
Free up to 25,000 sessions a month. No credit card, no commitment.