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.
- Ad clickVisitor taps a TikTok ad
- Landing pagePixel script is missing
- Form or checkoutCustomer converts
- TikTok reportingNo conversion recorded
With no pixel on the page, TikTok never hears about the visit or the conversion.
Example: the same week of ads, with and without the pixel. Numbers are illustrative.
How to check if your site has it
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.
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.
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.
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.
Pick one integration
Use the official TikTok for WordPress plugin or a header and footer plugin. Use only one method.
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.
Clear caches
Purge your caching plugin and CDN so visitors get the updated pages.
Add the TikTok channel
In Shopify admin go to Sales channels, add TikTok, and connect your TikTok account.
Choose the pixel
In the channel's data sharing settings pick your pixel and a data sharing level. Save.
Check checkout events
Place a test order in a test mode setup and confirm events in Events Manager.
Create a tag
Add a new tag using the TikTok Pixel template from the Community Template Gallery, or a Custom HTML tag with the base code.
Set the trigger
Fire it on All Pages (or on consent, if you use Consent Mode).
Preview and publish
Use Preview mode to confirm it fires, then Submit to publish the container.
Open custom code
Go to Site settings, then Custom code, and paste the base code in the Head code box.
Publish
Publish the site. Custom code does not appear on the staging preview of unpublished changes.
Add to funnel settings
In the funnel or website, open Settings, then Tracking code, and paste the base code into the Head tracking code box.
Repeat per funnel
Tracking code is set per funnel or site, so add it to each one you run ads to.
Use Marketing integrations
In the Wix dashboard open Marketing, then Marketing Integrations, and connect TikTok Pixel with your pixel ID.
Or add custom code
Under Settings, then Custom code, add the base code to the Head for All pages. A paid plan with a connected domain is needed.
Open code injection
Go to Settings, then Advanced, then Code Injection, and paste the base code into the Header box.
Save and test
Code injection needs a plan that allows it. Check on the live URL, not the editor.
Paste the base code
Place the snippet just before the closing head tag in the shared layout so every page gets it.
Check templates
Make sure thank-you and checkout templates use the same layout.
<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
- 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
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
- 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.
Related issues
- TRK-202TikTok wrong pixel codeFix guide
- TRK-203TikTok SubmitForm / CompletePayment missing on conversionFix guide
- TRK-204TikTok event fires twiceFix guide
- TRK-205ttclid not stored / _ttp cookie missingFix guide
- TRK-208LinkedIn Insight Tag missingFix guide
- TRK-224Snapchat Pixel missing or wrong IDFix guide