Most advertisers treat TikTok as a top-of-funnel awareness play and stop there. That leaves the most valuable part on the table: remarketing. The TikTok pixel is a small piece of code that tracks what people do on your website after they click, and it turns those actions into custom audiences you can retarget with personalised ads.
Done properly, it lets you track micro-events most platforms ignore, from video plays and button clicks through to page views, add to cart and purchases, then build custom audiences off the back of them.
Why it’s worth doing:
- Comparatively cheap CPMs versus more mature channels
- A fast-growing UK audience
- Less competition in the retargeting auction than Meta or Google
If you want a wider view of how the platform stacks up before you invest, read our comparison of Meta Ads vs TikTok Ads, or our case for why every UK business should be running TikTok Ads.
What the TikTok Pixel Actually Does
The pixel is a browser-side tracker. When someone lands on your site from a TikTok ad, it reads the click identifier in the URL and records the events they trigger, sending that data back to TikTok Events Manager. TikTok then knows which users viewed a product, added to cart or bought, and lets you group them into audiences.
The catch: browser-side tracking is no longer enough on its own. Cookie restrictions and browser privacy changes now block a meaningful share of pixel events, which is why the Events API (server-side tracking) has become the other half of the setup. More on that below.
TikTok Pixel Setup: A Simple 7-Step Guide
Here’s the correct order to get from nothing to live retargeting.
- Create your pixel. In TikTok Ads Manager, open Events Manager, choose Connect Data Source and select Web. Create a web pixel and give it a name that matches your domain (up to 128 characters) so it’s easy to find later.
- Choose your installation method. You’ll be offered a partner integration (Shopify, Google Tag Manager and others) or manual installation of the base code. For most sites, Google Tag Manager (GTM) is the cleanest route. Choose to install manually so GTM handles deployment, and copy your pixel base code.
- Set up the base code in GTM. Log into your GTM account, create a new Tag, choose Custom HTML and paste in your pixel base code. Set the trigger to All Pages so the base pixel and its
PageViewevent fire everywhere, then Submit and Publish. - Track your key events.
PageViewfires on All Pages, but ecommerce events do not. To capture actions likeViewContent,AddToCart,InitiateCheckoutandCompletePayment(purchase), add separate tags with the right trigger types, not All Pages. Use click triggers for button-based actions and dataLayer or custom-event triggers for confirmed purchases, and pass the value and currency parameters (plus content IDs and order ID) so TikTok can optimise on revenue rather than raw counts. You can also fire micro-events like video plays and button clicks. - Verify the pixel is firing. This step is non-negotiable and is where most setups fall down. Install the TikTok Pixel Helper Chrome extension and load your site: green means the event fired correctly, amber means a parameter is missing (often value or currency) and red means a failure. Then confirm TikTok’s servers actually received the data using the Test Events tool in Events Manager, because a green result in Pixel Helper only proves browser-side firing. Check the Diagnostics tab for anything flagged.
- Build your custom audiences. Once the pixel is collecting data, create audiences based on behaviour (see the recipes below). You need a minimum of 1,000 matched users before an audience can be used for targeting, and website audiences can look back up to 180 days.
- Launch your retargeting campaigns. Now the fun part. Serve personalised ads to those warm audiences and bring people back into your funnel, for example reminding cart abandoners of the exact product they left behind.
Add the Events API for Reliable Tracking
Relying on the pixel alone in 2026 means losing conversions. The Events API (TikTok’s server-side, or CAPI, tracking) sends event data straight from your server to TikTok, bypassing the browser restrictions that block a chunk of pixel events.
Run it alongside the pixel rather than instead of it: the pixel still needs to fire on the landing page to capture the click identifier that ties conversions back to your ads. When you run both, give each event a shared event_id so TikTok can deduplicate and avoid double-counting.
It’s also worth turning on Advanced Matching, which passes hashed customer details such as email and phone number. Together, server-side tracking and Advanced Matching lift your Event Match Quality score in Events Manager, which in turn improves optimisation and audience accuracy.
Custom Audience Recipes Worth Building
Setup only pays off when you turn events into audiences. A few reliable retargeting recipes:
| Audience | Condition | Window |
|---|---|---|
| Product viewers, not buyers | ViewContent and not CompletePayment | Last 14 days |
| Cart abandoners | AddToCart and not CompletePayment | Last 7 days |
| Checkout abandoners | InitiateCheckout and not CompletePayment | Last 14 days |
| Engaged video viewers | Watched 75% of a video | Last 30 days |
| Past purchasers (for upsell) | CompletePayment | Up to 180 days |
Layer these into your campaigns and you move from a single cold audience to a proper funnel. If you’re building a TikTok Shop presence too, pair this with our 10-step TikTok Shop launch strategy.
FAQ
What is the TikTok pixel? The TikTok pixel is a snippet of code you place on your website that tracks visitor actions such as page views, add-to-carts and purchases, and sends that data to TikTok Events Manager. It powers conversion tracking, campaign optimisation and, most usefully, retargeting audiences.
Is the TikTok pixel free to use? Yes. Creating and installing the pixel is free inside TikTok Ads Manager. You only pay when you run ads to the audiences it helps you build.
Do I still need the pixel if I set up the Events API? Yes, you need both. The pixel captures the click identifier on the landing page that links conversions back to your TikTok ads, while the Events API sends server-side events that browsers would otherwise block. Run them together with a shared event ID so events aren’t counted twice.
How do I check the TikTok pixel is working? Use the TikTok Pixel Helper Chrome extension to confirm events fire in the browser, then use the Test Events tool in Events Manager to confirm TikTok’s servers received them. Green in Pixel Helper alone is not proof the data arrived.
How big does a custom audience need to be? You need at least 1,000 matched users before TikTok will let you target a custom audience. Newer or lower-traffic sites may need to widen the retention window (up to 180 days) to reach that threshold.
More insights.
A Simple System to Beat Meta Ad Fatigue
Creative fatigue killing your Meta ROAS? A simple, repeatable system to refresh ads before performance drops — with the exact signals to watch.
How We’re Scaling Meta Ads Profitably in 2025: A Framework That Actually Works
Most brands I speak with are spending serious money on Meta ads. Founders, heads of growth, marketing leads – they’re all trying to crack the same code. But nine times out of ten, their ad…
Bing Ads Remarketing: The Retargeting You're Missing
Microsoft (Bing) Ads dynamic remarketing is underused and cheap — how to set it up, who to retarget, and why it can outperform for B2B.
Want this kind of analysis on your account?
We'll review your campaigns and send you a written summary of the top wasted-spend opportunities. Three working days, no call required.