Skip to content
FunnelGuard

Fix guide by FunnelsGuard

TikTok Pixel missing: how to find and fix it

TRK-201High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

The TikTok Pixel is a JavaScript snippet that loads from TikTok's servers and sends a hit each time someone views a page or completes an action, such as submitting a form or buying. The hit goes to TikTok Ads so it can match the visit to an ad click.

"Missing" means the snippet does not load at all on pages where it should. That can be everywhere, or only on some templates, such as the thank-you page, checkout or landing pages built in a separate tool.

Common causes: the pixel was never installed, a theme or plugin update removed it, a Tag Manager container was changed or unpublished, a new landing page tool does not carry the code, or a consent banner blocks it for everyone.

Why it costs you leads or sales

Without the pixel, TikTok sees clicks but no results. Conversion reporting shows zero or far too low, so you cannot tell which ads work. Campaigns that optimise for conversions have no signal to learn from, so delivery and cost per result get worse. Retargeting and lookalike audiences stop filling with new visitors.

The sales are not lost, but the money you spend on TikTok becomes harder to steer. Many teams only notice after weeks of spend, when results look poor.

Where the TikTok signal is lost
  1. Ad clickVisitor taps a TikTok ad
  2. Landing pagePixel script is missing
  3. Form or checkoutCustomer converts
  4. TikTok reportingNo conversion recorded

With no pixel on the page, TikTok never hears about the visit or the conversion.

Conversions TikTok can seeExample numbers
Conversions TikTok can see (example)Real conversions: 40 conversions; Seen with pixel: 36 conversions; Seen without pixel: 0 conversions0153140360Real conversionsSeen with pixelSeen without pixelconversions

Example: the same week of ads, with and without the pixel. Numbers are illustrative.

How to check if your site has it

Three ways to check
  1. Use TikTok Pixel Helper

    Install the TikTok Pixel Helper extension for Chrome, open your landing page and click the icon. It lists pixels found and the events they sent. "No pixel found" means it is missing.

  2. Check Events Manager

    In TikTok Ads Manager open Tools, then Events, then your pixel. Look at the status and the Test Events or recent activity tab. An inactive pixel with no recent events points to a problem.

  3. Look in the browser

    Open DevTools, go to the Network tab, reload the page and filter for analytics.tiktok.com. No requests means the pixel is not loading. Also search the page source for ttq.load.

  4. Test the key pages

    Repeat on the landing page, the form page, the thank-you page and checkout. The pixel can be present on one template and absent on another.

How to fix it

First get your Pixel ID: in TikTok Ads Manager go to Tools, then Events, open your web events data source and copy the pixel ID. Then install it using the route that matches your site. Install it once only, so you do not create duplicate firing.

Install the TikTok Pixel by platform
  1. Pick one integration

    Use the official TikTok for WordPress plugin or a header and footer plugin. Use only one method.

  2. Connect your pixel

    Sign in with your TikTok account in the plugin settings and select the pixel, or paste the base code into the site-wide header section.

  3. Clear caches

    Purge your caching plugin and CDN so visitors get the updated pages.

TikTok Pixel base code (replace YOUR_PIXEL_ID)html
<script>
!function (w, d, t) {
  w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var i="https://analytics.tiktok.com/i18n/pixel/events.js";ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=i,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=i+"?sdkid="+e+"&lib="+t;var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(o,a)};
  ttq.load('YOUR_PIXEL_ID');
  ttq.page();
}(window, document, 'ttq');
</script>

How to confirm it's fixed

Fix verification
  • TikTok Pixel Helper shows your pixel ID and a green Page View on the landing page
  • The same pixel appears on the thank-you page and checkout
  • Network tab shows requests to analytics.tiktok.com
  • Events Manager Test Events shows events from your browser session
  • Pixel status in Events Manager changes to active within a few hours
  • Only one pixel instance is found, not two
Before and after

Pixel missing

  • Pixel Helper says no pixel found
  • Events Manager shows no recent activity
  • Ads report zero conversions

Pixel installed

  • Pixel Helper shows your pixel ID
  • Page views arrive in Events Manager
  • Conversions can be matched to ads

How to prevent it happening again

Habits that keep the pixel in place
  • Keep the pixel in one place only, such as Tag Manager, so a theme change cannot remove it
  • Re-check after theme updates, plugin updates, site migrations and new landing pages
  • Record who owns the pixel and the Tag Manager container
  • Add the pixel to any new landing page tool before sending ad traffic
  • Test with your consent banner in its default state
  • Monitor the pages ads send traffic to on a schedule

How FunnelGuard handles this

FunnelGuard detects a missing TikTok Pixel today. A robot visitor runs your real customer journey on a schedule, from the EU or the US, and checks the tracking hits sent to ad platforms including TikTok at each step. If the TikTok hit does not appear, the check fails.

A failure is re-checked from a second region before one alert goes out, by email, Slack, Teams, WhatsApp, webhook or PagerDuty. The alert includes a screenshot and a likely cause. Test traffic is marked (utm_source=funnelguard, fg_test=1) and never clicks real ads. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.

Questions people ask

Why does TikTok Pixel Helper say no pixel found?

The pixel script is not loading on that page. Common reasons are that it was never installed, a theme or Tag Manager change removed it, a consent banner is blocking it, or caching is serving an old page. Accept cookies, clear caches and check the page source for ttq.load.

How do I check if the TikTok Pixel is installed on my website?

Open the page with the TikTok Pixel Helper Chrome extension, or look in DevTools for requests to analytics.tiktok.com. You can also check Events Manager in TikTok Ads for recent activity on your pixel.

Why does my TikTok pixel show as inactive in Events Manager?

It usually means no events have reached TikTok recently. The pixel may be missing, installed with the wrong ID, or blocked on the pages you tested. Browse your site with the pixel helper and check that events appear in Test Events.

How do I install the TikTok Pixel on Shopify?

Add the TikTok sales channel in Shopify admin, connect your TikTok account and choose your pixel in the data sharing settings. Then place a test order and check that events appear in Events Manager.

Can I add the TikTok Pixel with Google Tag Manager?

Yes. Create a tag with the TikTok Pixel template or a Custom HTML tag, trigger it on All Pages, test in Preview mode and publish the container. Do not also install it directly, or events may fire twice.

Does a cookie banner stop the TikTok Pixel from loading?

It can. If your banner holds back marketing scripts until consent, the pixel will not load for visitors who decline or have not yet chosen. That is expected, but check it is set up so the pixel loads once consent is given.

How long until TikTok shows events after I add the pixel?

Test Events usually shows activity right away. The pixel status and reporting in Events Manager can take a few hours to update.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.