TikTok Pixel for a landing page: how to connect it and check events

The TikTok Pixel is code from TikTok that sits on your landing page and tells the ad account that someone opened the page, clicked a button, or submitted a lead. Without it, TikTok only sees clicks and can't find people who actually place orders. Below: how to create and connect the pixel, which events to send from a cash-on-delivery landing page, and how to confirm in a few minutes that everything works.

Build a landing page for freeNo registration needed. Pro for 7 days, no card required, once you save your landing page.

Why a cash-on-delivery landing page needs the TikTok Pixel

When you drive traffic to a product sold with cash on delivery, your main event is the lead form: name, phone, city, branch. There's no payment on the page, so TikTok can't see purchases. The only signal it can learn from is the event the pixel sends after the form is submitted.

Without a pixel, the dashboard optimizes for clicks or video views. That traffic is cheap, but it produces few leads: people tap, watch, and leave. With the pixel and the right event, the algorithm starts looking for people similar to those who already submitted a lead.

The second reason is your numbers. The pixel shows in the TikTok dashboard how many leads each creative and each ad group generated. Without it, you compare clicks, when you should be tracking cost per lead.

The third is retargeting and audiences. You can separately follow up with people who reached the form but didn't submit it, using a different creative. This only works when the pixel sends events, not when it just sits on the page.

How to connect the TikTok Pixel to a landing page, step by step

Setup has two parts: create the pixel in your TikTok account and paste its ID onto the landing page. You don't need to write any code if the landing page is built in a builder with a pixel field.

Before you start, open the landing page and make sure the lead form works. Otherwise you'll be configuring the pixel on a page that isn't collecting leads yet.

On LandEmpire landing pages, the TikTok Pixel is connected in the page settings: you paste the ID, save, and publish. Other pixels, Facebook, GA4, and Google Ads, are added the same way, in more detail in the help article on the Facebook, TikTok, and GA4 pixels.

  • 1. Go to TikTok Ads Manager, open the Events section, and create Web Events for your ad account.
  • 2. Choose the manual setup option (Pixel Code only) and give the pixel a clear name, such as the product name or domain.
  • 3. Copy the pixel ID. It's a string of letters and numbers, not the whole code.
  • 4. Open the landing page settings in the builder and paste the ID into the TikTok Pixel field.
  • 5. Publish the landing page on your own domain. Test pages that aren't published won't send events to your account.
  • 6. Open the landing page in your browser, go through to the form, and submit a test lead with your own phone number.
  • 7. Return to Events Manager and confirm the event appeared. If it did, you can launch your ads.

Which TikTok Pixel events to send from a dropshipping product landing page

TikTok has a set of standard events. For a landing page built around a single product, you need three or four at most. Extra events create confusion in reports and don't help optimization.

The first is ViewContent, a view of the product page. It's the basic signal that someone reached your offer rather than closing the tab while it loaded.

The second is ClickButton, a click on the order button. It's useful for diagnostics: if there are many clicks but few leads, the problem is the form, not the creative. It's usually not used for optimization.

The third is the lead event. Depending on your settings, it can be SubmitForm, PlaceAnOrder, or CompleteRegistration. The name doesn't matter. What matters is that it fires once after the form is successfully submitted, not when the page opens.

You'll find out which event your landing page sends from a test lead. Check Events Manager to see what shows up, and set that exact event as your optimization goal. Don't guess the name in advance.

  • ViewContent: the person saw the product page. It's useful as a baseline for audiences and diagnostics.
  • ClickButton: a click on the order button. It shows whether people get as far as the form.
  • SubmitForm or similar: the lead was submitted. This is your main event for optimization.
  • Don't invent other events (AddToCart, InitiateCheckout, CompletePayment) for a cash-on-delivery landing page. There's no payment or cart on the page.

Which event should you optimize ads for: lead or view?

The optimization goal in TikTok is the event the algorithm tries to get as many of as possible for your budget. If you set ViewContent, TikTok will look for people who readily open pages. There are many of them and they're cheap, but they rarely order.

For single-product e-commerce, the right goal is the lead event. The algorithm needs enough of these events to learn, so don't split your budget across a dozen ad groups at the start. One or two groups with clear creative and a single goal work better.

If you're still getting few leads and the dashboard stays in learning, don't change the goal every day. Each change resets what has accumulated. First fix what you can on the page: speed, the first screen, the form.

We wrote separately about how to build a page for TikTok creative and traffic in the article about landing pages for TikTok Ads. A pixel won't save a page with a weak first screen. It will only honestly show that there are no leads.

How to check that the TikTok Pixel is working

The check takes a few minutes, and a setup error can burn through your whole test budget. Do it every time you change the pixel, the domain, or the form.

The first tool is the TikTok Pixel Helper Chrome extension. Open the landing page on a computer, click the extension icon, and check whether it finds the pixel with your ID. A green status means the code loaded. Red or empty means the pixel isn't installed, the ID is wrong, or the page is blocked by the extension or browser settings.

The second is the Test Events tab in Events Manager. Enter your landing page address, open it from that window, and watch the events come in in real time. Submit a test lead and check whether the lead event appears and whether it appears only once.

The third is the regular report in Events Manager after some time. It shows the pixel's status and event counts. Data updates with a delay, so don't panic if nothing shows up after a minute, but don't wait a full day either: a test event in Test Events appears almost immediately.

After the test lead, check one more thing: whether that lead reached the right place, whether that's your dashboard, Telegram, or CRM. The pixel and lead delivery are two separate things, and both have to work.

Why the TikTok Pixel doesn't see leads: common causes

The most common mistake is a pixel that's installed but a lead event that isn't set up. The page opens, ViewContent fires, and after the form there's silence. In that case the dashboard shows lots of views and zero leads, and it looks like the creative is bad.

The second is an event firing at the wrong moment. If it fires when the thank-you page loads and the person closed the tab earlier, some leads won't make it into the stats. And if it fires on every refresh of the thank-you page, you'll get duplicates and an understated cost per lead.

The third is a pixel from another account or an old test. This happens when you copy a landing page for a new creative and forget to change the ID. Ads go to one place, and data goes to another.

The fourth is traffic from TikTok's in-app browser, where some scripts are blocked by device settings or extensions. Only a test on a real phone helps here: open the ad in the app, go to the landing page, and submit a lead.

The fifth is your own test leads. They also count in the stats. Write down which phone numbers and names you used so you don't confuse them with real leads later.

What's better: manual code, Google Tag Manager, or a builder

You can install the pixel in three ways. The choice depends on who builds the landing page and how many pages you run at the same time. For a media buyer running several tests a week, how quickly you can swap the ID matters most.

The worst option in any setup is installing the pixel twice, for example in the builder and again through GTM. Then each event arrives twice, and the cost per lead in the dashboard looks twice as good as it really is.

  • Manual code in HTML: full control over events and when they fire, but it requires a developer or coding skills, and a mistake in the code can break the form.
  • Google Tag Manager: convenient if you already manage several pixels from one place, but it adds another layer of settings, and it's easy to end up with duplicate events.
  • A builder with an ID field: the pixel connects by pasting an identifier, no code needed. It's convenient for cloning landing pages for new creative, but custom events need to be checked on a test lead.

A lead in the pixel isn't an approval yet: how to reconcile the numbers

The pixel counts leads, not sales. For cash-on-delivery e-commerce, there are no-answers, refusals on the call, and unclaimed parcels at the post office between the lead and the money. TikTok doesn't see any of that, so a cheap lead in the dashboard doesn't yet mean a cheap sale.

So look not only at cost per lead in TikTok, but also at approval and pickup rates in your CRM. Leads from different creatives and groups have different quality. One creative brings lots of leads from curious people, another brings fewer, but from people who pick up the phone.

To see this, you need tags. UTMs and sub1-sub5 are stored in the lead, so you can see which ad each person came from and how they ended up. We cover how a lead gets into the CRM and comes back with a status in the article about landing page with CRM for single-product e-commerce.

If you work through a CPA network, the TikTok pixel and the postback are different things. The pixel trains TikTok, while the postback with the clickid passes the lead status back to the network. Set up both; they don't replace each other.

What to prepare on the landing page before launching TikTok ads

The pixel is only one of the requirements. Before launch, go through this short checklist, because most budget losses come from small details, not from the pixel code itself.

The page should load fast on mobile internet: nearly all TikTok traffic comes from phones, and a slow load cuts off traffic before the pixel even fires. The first screen should continue the creative: the same product, the same promise, price, and button.

The form should be short and clear. For cash on delivery, a person only needs a name, phone number, city, and branch. The more extra fields there are, the fewer submissions and fewer events for the algorithm. For how to build a page in this format, see the article about Landing page with cash on delivery.

Check the creative and the product in advance too. In TikTok Ad Library you can see which ads have been running for a long time, and that's an indirect signal that the product is making money.

If you don't have a landing page yet, build one on the free build using a link to the product: the name, price, photo, and form fill in automatically, and the page will be live in 10-30 seconds. Registration is required to save and publish, and you can try Pro for 7 days without a card. After publishing, paste your pixel ID and send a test lead.

Frequently asked questions

What is the TikTok Pixel and what is it for?

The TikTok Pixel is a snippet of code that sends data about people's actions from your website to your TikTok ad account. It shows how many leads your ads generated, and the algorithm learns to find similar audiences. Without a pixel, optimization relies only on clicks and views.

How do I add the TikTok Pixel to a landing page?

Create a pixel in TikTok Ads Manager under Events, copy its ID, and paste it into your landing page settings. Then publish the page and send a test lead. If you use a builder with a ready-made pixel field, you don't need to write any code.

Which TikTok Pixel events does a cash-on-delivery landing page need?

A page view and a lead event are enough, and you can also add a click on the order button. The lead event (SubmitForm or an equivalent) should fire once, after the form is successfully submitted. Payment and cart events aren't needed for this kind of landing page.

How do I check whether the TikTok Pixel is working?

The fastest way is the TikTok Pixel Helper Chrome extension and the Test Events tab in Events Manager. Open your landing page, send a test lead, and see whether the event arrives. Also check that it appears once, not as a duplicate.

Why does the TikTok Pixel show page views but no leads?

Most likely the lead event isn't set up or fires at a moment other than the form submission. It's also possible that a different pixel is attached to the ad. Send a test lead and check in Test Events which event comes through.

How long does it take for TikTok to start optimizing for leads?

There's no fixed timeframe: the algorithm needs enough lead events, and how many you get depends on budget and traffic quality. During this period, don't change the optimization goal or split the budget across many ad groups. First make sure the event is actually coming through.

Can I connect the TikTok Pixel and the Facebook Pixel on the same landing page?

Yes, you can add several pixels to one page. LandEmpire supports Facebook, TikTok, GA4, and Google Ads. Each is added with its own ID. The key is not to duplicate the same pixel in multiple ways, or your events will be counted twice.

Can the TikTok Pixel see approvals and parcel pickups?

No, the pixel only records actions on the page, such as a lead. Approvals, no-answers, and pickups are visible in your CRM or in the postback from your CPA network. So evaluate creatives by the cost per lead in TikTok together with the statuses from your CRM.

Roast your landing pagePaste your page URL or a competitor's: in 20 seconds you get a score out of 100 and a list of what's killing your leads. Free, no sign-up required.

Other topics

Try it now

Paste the link to your product - in a minute you'll see a ready landing page. No registration required.

Prom, AliExpress, Amazon, or any store. No sign-up needed - you'll see the result right away.AliExpress, Amazon, eBay, or any store. No sign-up needed - you'll see the result right away.

Build a landing page for free

No registration needed. Pro for 7 days, no card required, once you save your landing page.