Add TikTok Pixel to a Link

What is TikTok Pixel?

TikTok Pixel is TikTok's tracking code that helps you measure the effectiveness of your TikTok ad campaigns. When you add TikTok Pixel to your links, you can:

  • Build custom audiences of people who clicked your links
  • Track conversions from your TikTok ads
  • Optimize ad delivery by helping TikTok find users similar to those who've engaged with your content
  • Measure ROI by connecting ad spend to actual results

Why Add TikTok Pixel to Linkly Links?

When you share links on TikTok (in your bio, comments, or ads), adding the TikTok Pixel lets you track and retarget users who clicked—even if they don't visit a website you control.

This is especially valuable for:

  • Affiliate marketers promoting products on TikTok
  • Influencers tracking engagement from bio links
  • Brands running TikTok ad campaigns
  • Anyone wanting to build retargeting audiences from TikTok traffic
1

Log in to TikTok Ads Manager and go to Assets → Events → Web Events. Create a new pixel or use an existing one. Copy your Pixel ID (it looks like CXXXXXXXXXXXXXXXXX).

2

Click Create New Link from the sidebar.

3

Enter your Destination URL and Nickname as usual.

4

Click on TikTok Pixel to expand it, then paste your Pixel ID into the Pixel ID field.

Expand the **TikTok Pixel** section
Expand the TikTok Pixel section
5

Click Save Link. When users click this link, the TikTok Pixel will fire automatically before they're redirected to the destination.

6

Use TikTok's Pixel Helper Chrome extension or check the Events Manager to confirm your pixel is receiving data.

Manual Integration

If you need advanced event tracking or more granular control, you can paste TikTok's full pixel code manually instead of using the Pixel ID field.

How to Add TikTok Pixel Manually

1

Get your TikTok Pixel code

In TikTok Ads Manager, go to Assets → Events → Web Events and copy the full pixel base code.

2

Click on this section to reveal the code input boxes.

3

Paste your TikTok Pixel code in the Head Tags box

Paste the full pixel code including the <script> tags. If you want to track a specific event (like 'ClickButton'), add the event code to the Body Tags box.

4

Click Save Link. When users click this link, the TikTok Pixel will fire before they're redirected to the destination.

Using Google Tag Manager

If you already have TikTok Pixel set up in a Google Tag Manager container, you can use that instead of pasting the pixel code directly. Simply enter your GTM Container ID in Linkly and your existing TikTok Pixel configuration will work automatically.

Frequently Asked Questions

Will adding TikTok Pixel slow down my redirects?

Yes, firing tracking pixels adds a small delay (typically under 500ms) before users are redirected. For more details, see our article on slow redirects.

Why am I seeing fake clicks from TikTok?

TikTok's systems often generate automated clicks for link previews and security scanning. These can inflate your click counts. See our article on TikTok invalid traffic for more information and how to filter these out.

Yes. Go to Settings → Default Link Settings and enter your TikTok Pixel ID. All new links will automatically include it.

Yes. You can add multiple tracking pixels to a single link. Linkly supports dedicated fields for TikTok Pixel and Meta Pixel, plus a general retargeting section for any other pixels. You can also use Google Tag Manager to manage all your pixels in one place.

How do I track specific events like purchases?

For custom event tracking, use the manual integration method. Add TikTok's event code to the Body Tags section under Retargeting & tracking pixels. For example, to track a 'ViewContent' event, add the appropriate ttq.track() call. Refer to TikTok's documentation for the correct event code syntax.

Track 500 monthly clicks with all features included.

No credit card required