Updated

Technology · Analytics

TikTok Pixel

tiktok.com

The TikTok Pixel is a piece of code you place on your website. It shares website events with TikTok so you can measure traffic and ad performance and optimize campaigns.[1]

An analytics and tracking tool for TikTok advertisers. The TikTok Pixel helps businesses measure the effectiveness of their TikTok ad campaigns by tracking user actions on their websites, enabling retargeting, and providing insights to optimize ad performance and reach on the popular short-form video platform.

TikTok Pixel belongs toAnalyticscategory.

What it is

A code snippet that shares website events with TikTok[1]

What it measures

Website traffic and ad campaign performance[1]

Cookies

Third-party cookies are on by default; first-party are optional[1]

Server-side option

Events API, recommended next to the Pixel[2]

90websites

use it — 3.5% of the 2,555 websites we scanned in the last 12 months

#10of 133

tools in its category seen in our scans (we recognize 430)

3public pages

on UptimeCard — open any of them to see how that site is doing

In short: the tracking code for TikTok ad campaigns; pair it with the Events API, and check what it sends because third-party cookies are on by default.[2][1]

3.76% of all websites we track run TikTok Pixel

Should you use TikTok Pixel?

The 10-second version, from the vendor’s own pages and what we see in our scans

TikTok Pixel fits if…

  • You run ads on TikTok and want to measure conversions on your site[1]
  • You want a server-side connection next to the browser code[2]

Look elsewhere if…

  • You advertise on Facebook and Instagram[3]The Meta Pixel is the equivalent for Meta ads.
  • You advertise to professionals on LinkedIn[4]The LinkedIn Insight Tag is the equivalent for LinkedIn campaigns.
Third-party cookies are on by default[1]
It also collects page metadata and button clicks, and TikTok advises checking that no sensitive data is sent[1]

TikTok Pixel next to other ad tracking tags

Statements come from each vendor's own page; website counts and speed are ours.

TikTok PixelFacebook PixelLinkedin Insight Tag
What each one does
PurposeShare website eventswith TikTok[1]Track website activityto optimize advertising[3]Optimize campaignsretarget and learn about audiences[4]
Server-side optionEvents APIacross web, app and offline[2]Not stated on its pageNot stated on its page
What we see in our scans
Websites running it903.5% of 2,555 scanned sites46818.3% of 2,555 scanned sites43517% of 2,555 scanned sites
Typical page load time—4.7 s139 public sites4.4 s✓264 public sites
Typical page weight—3.4 MB✓typical home page3.4 MB✓typical home page
Security grade B or better—24%10 of 41 graded sites score B or better35%✓25 of 72 graded sites score B or better

Scan rows count public pages only; a tool needs at least 5 measured sites to appear.

  • Facebook Pixel: The Meta Pixel tracks website activity to optimize Facebook and Instagram advertising[3]
  • Linkedin Insight Tag: A code snippet that helps optimize LinkedIn campaigns and retarget visitors[4]

Choose TikTok Pixel if…

  • You advertise on TikTok[1]

Choose Facebook Pixel if…

  • You advertise on Facebook and Instagram[3]

Choose Linkedin Insight Tag if…

  • You advertise on LinkedIn[4]

Products

TikTok for Business tools that work with the Pixel, in TikTok's own words

TikTok Pixel

This page

Shares website events with TikTok[1]

Events API

A connection between TikTok and an advertiser's marketing data across web, app and offline[2]

Events Manager

Manages website pixels and events and gives access to event data[5]

Business Center

Manages advertising, creators and commerce in one place[6]

How TikTok Pixel sites protect themselves

Share of the 90 sites we scanned that run each protection

HSTS67% · 60 sites

HTTP Strict Transport Security (HSTS) informs browsers that the site should only be accessed using HTTPS

reCAPTCHA22% · 20 sites

reCAPTCHA is a free service from Google that helps protect websites from spam and abuse

Cloudflare Bot Management18% · 16 sites

Cloudflare bot management solution identifies and mitigates automated traffic to protect websites from bad bots

Protections add up, they do not replace each other: a site can run all of them.

How TikTok Pixel sites are built

Closest partners. The number says how many times more often the tool runs on TikTok Pixel sites than on an average website. Hover a partner for its share of sites.

Pinterest Conversion Tag20×Pinterest Ads16×theTradeDesk10×Twitter Ads8×Criteo7×Reddit Ads5×Facebook Pixel5×styled-components5×Microsoft Advertising4×

Stacks we see most. Tools that tend to run together with TikTok Pixel on the same websites. The percentage is the share of all 90 TikTok Pixel sites that run the whole stack.

10 stacks · swipe, drag or use the arrows
#1

TikTok Pixel + Facebook Pixel + Google Analytics + React + Next.js

24.4%22 of 90 sites
#2

TikTok Pixel + Facebook Pixel + Google Analytics + Microsoft Advertising + Microsoft Clarity

20%18 of 90 sites
#3

TikTok Pixel + Facebook Pixel + Google Tag Manager + Microsoft Advertising + React

18.9%17 of 90 sites
#4

TikTok Pixel + Facebook Pixel + Google Analytics + Pinterest Conversion Tag + Pinterest Ads

15.6%14 of 90 sites
#5

TikTok Pixel + Google Tag Manager + React + Next.js + styled-components

10%9 of 90 sites
#6

TikTok Pixel + Google Analytics + Microsoft Advertising + React + Twitter Ads

8.9%8 of 90 sites
#7

TikTok Pixel + Google Tag Manager + Microsoft Advertising + Microsoft Clarity + Reddit Ads

8.9%8 of 90 sites
#8

TikTok Pixel + Google Tag Manager + Twitter Ads + Pinterest Conversion Tag + Pinterest Ads

7.8%7 of 90 sites
#9

TikTok Pixel + Microsoft Clarity + Pinterest Conversion Tag + Reddit Ads + Pinterest Ads

5.6%5 of 90 sites
#10

TikTok Pixel + Pinterest Conversion Tag + theTradeDesk + Linkedin Insight Tag + Pinterest Ads

4.4%4 of 90 sites

Usually installed alongside

The bigger the bubble, the more of the 90 TikTok Pixel sites also run the tool. Colour shows what the tool does. Hover or tap a bubble for details.

Facebook Pixel92%Google Analytics89%Microsoft Clarity30%Google Tag Manager80%Microsoft Advertising52%Twitter Ads39%Reddit Ads28%Cart Functionality24%OneTrust19%
AnalyticsTag managerAdvertisingOnline storeCookie consent

Who is behind TikTok Pixel

From its own pages and public records, with sources

Its story

  1. 2021

    Developer Mode reached all advertisers in January 2021. It let them send parameters with events, which other TikTok products later required.[5]

  2. 2021

    Advanced Matching came to all regions in June 2021 through Developer Mode. Advertisers could send privacy-safe customer information to match website events with people on TikTok.[5]

  3. 2021

    Event standardization in August 2021 consolidated the standard events into a shorter list. Names now followed common industry terms, which made setup easier.[5]

  4. 2021

    New store-platform partnerships followed in September 2021, with BigCommerce, Ecwid, PrestaShop and Square. Creating a pixel through those platforms took a few clicks.[5]

  5. 2021

    Events Manager Diagnostics began supporting the Events API in December 2021. Advertisers could test and troubleshoot server-side events alongside the Pixel.[5]

  6. 2022

    First- and third-party cookies became supported for new pixels from March 2022. Cookies help measurement, optimization and targeting of campaigns.[5]

  7. 2022

    Standard and Developer Mode pixels were merged in August 2022. Creating a pixel became one experience, and events could be created in either way.[5]

  8. 2023

    Custom events arrived in May 2023. Advertisers could define actions outside the standard events and align reporting with their own KPIs.[5]

  9. 2023

    In July 2023 the Pixel began collecting landing page metadata and button clicks. TikTok said this would later power setup recommendations and automated solutions.[5]

  10. 2024

    From June 2024 the Pixel measures a pageview whenever the URL changes inside a single page application. This matches industry practice and affects how such sites are counted.[5]

Questions about TikTok Pixel

What is the TikTok Pixel?
A piece of code you place on your website that shares website events with TikTok.[1]
What does it collect?
Ad and event information, timestamps, IP address, user agent, cookies, and page metadata and button clicks.[1]
Do I also need the Events API?
TikTok recommends an Events API integration next to the Pixel for website connections. Either one is a prerequisite for the Web Conversions objective.[2]
How can I check what it sends?
Use Pixel Helper to view the data being sent to TikTok.[1]
How many websites use TikTok Pixel?
We found TikTok Pixel on 90 of the 2,555 websites we scanned in the last 12 months (3.5%). 3 of them have a public status page.
What is TikTok Pixel often used with?
Among the websites we scan, TikTok Pixel is often found alongside Facebook Pixel (92.2% of its sites), Google Analytics (88.9% of its sites), Google Tag Manager (80% of its sites).
What are the alternatives to TikTok Pixel?
Other analytics tools we recognize include Google Analytics, Facebook Pixel, Linkedin Insight Tag, Microsoft Clarity.

Is your website built with TikTok Pixel?

UptimeCard checks it around the clock, tells you the minute it stops answering, and gives your visitors a status page.