Why use the TikTok Pixel
- See which ads drive real actions. Track signups, purchases, and form submissions back to the exact TikTok ad that caused them.
- Bring back visitors who didn’t convert. Retarget people who visited your site with follow-up ads on TikTok.
- Reach new people like your best customers. Build custom audiences from site visitors and let TikTok find similar users.
- Let TikTok optimize for results. The more conversion data TikTok has, the better it gets at showing your ads to the right people.
What you need
Before you start, make sure you have:- A TikTok Ads Manager account. Set one up at ads.tiktok.com
- Your Pixel ID. A number that looks like
1234567890123456789
How to find your Pixel ID
How to find your Pixel ID
- Go to TikTok Ads Manager
- Click Assets in the top navigation, then select Events
- Under Web Events, click Manage
- Select your pixel (or create one if you haven’t). Choose Manual Setup and Standard Mode
- Your Pixel ID is shown at the top of the pixel details page
Add the TikTok Pixel to your project
Open the chat in your Macaly project and ask the agent:Verify it’s working
Install the TikTok Pixel Helper
Add the TikTok Pixel Helper Chrome extension. It shows which pixels are active on any page.
Tracking scripts run in the editor preview too, but events will be attributed to the preview domain, not your published site. For accurate data, verify in TikTok Events Manager after deploying.
Track conversions
The pixel tracks page views by default. To measure specific actions, ask the agent to add conversion events:| What to track | Example prompt |
|---|---|
| Form submission | ”Fire a TikTok Pixel SubmitForm event when someone submits the contact form” |
| Purchase | ”Track purchases as TikTok Pixel CompletePayment events with the order value” |
| Add to cart | ”Send a TikTok Pixel AddToCart event when someone adds a product to the cart” |
| Signup | ”Fire a TikTok Pixel CompleteRegistration event after signup” |
Cookie consent. The TikTok Pixel sets cookies to track visitors across sessions. If your site has visitors from the EU, UK, or other regions with privacy laws, you are responsible for ensuring a cookie consent solution is in place before the pixel loads.
Good to know
- TikTok recommends Standard Mode (JavaScript pixel) for most setups. This is what the agent adds by default
- Events can take a few hours to appear in TikTok Ads Manager. Use the Test Events tool to verify right away
- You can use TikTok’s Events API alongside the pixel for more reliable tracking. Ask the agent if you need server-side events
- If you also use Google Tag Manager, you can add the TikTok Pixel through GTM instead. The agent can help with either approach