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
How to Add TikTok Pixel to a Linkly Link
Get your TikTok Pixel code
Log in to TikTok Ads Manager and go to Assets → Events → Web Events. Create a new pixel or use an existing one. Copy the pixel base code.
Create a new link in Linkly
Click Create New Link from the sidebar.
Set up your link
Enter your Nickname and Destination URL as usual.
Expand Retargeting & tracking pixels
Click on this section to reveal the code input boxes.
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.
Save your link
Click Save Link. When users click this link, the TikTok Pixel will fire before they're redirected to the destination.
Verify in TikTok Ads Manager
Use TikTok's Pixel Helper Chrome extension or check the Events Manager to confirm your pixel is receiving data.
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.
Can I add TikTok Pixel to all my links automatically?
Yes. Go to Settings → Default Link Settings and paste your TikTok Pixel code in the retargeting section. All new links will automatically include it.
Can I use both TikTok Pixel and other pixels on the same link?
Yes. You can add multiple tracking pixels to a single link. Just paste them one after another in the code boxes, or use Google Tag Manager to manage all your pixels in one place.
How do I track specific events like purchases?
Add TikTok's event code to the Body Tags section. For example, to track a 'ViewContent' event, add the appropriate ttq.track() call. Refer to TikTok's documentation for the correct event code syntax.