TikTok Pixel retargeting for QR codes and links

Connect your TikTok Pixel to Linkbreakers so every person who scans your QR codes or opens your links joins a TikTok website traffic audience. Where to find the pixel ID, the page view it sends, how to check it fires, consent and limits.

Integrations
6 min read
By Laurent Schaffner
Updated November 1, 2026
Try it yourself

Set up the TikTok Pixel with the Assistant.

Connect my TikTok pixel C4ABCDEFGHIJKLMNOPQR to all my links and QR codes

Try this prompt

Short answer

Open Integrations in the Linkbreakers dashboard, pick TikTok Pixel under Retargeting pixels, paste your pixel ID and select Connect. From then on, every person who scans one of your QR codes or opens one of your links fires your TikTok Pixel with a page view, and you can build a TikTok audience from them.

The pixel adds a short page before the redirect, usually well under a second and never longer than 2 seconds. It is available on every plan, Free included.

Quick summary

  • One TikTok pixel ID per workspace, applied to every link and QR code by default, or only to the links you select
  • Sends a page view with ttq.page(), nothing else
  • The page URL TikTok records is the Linkbreakers short link address
  • Only people fire it: bots, link previews, AI agents and automated browsers are skipped
  • Consent for marketing cookies is the workspace's responsibility
  • Also available from the Assistant, the MCP server, the REST API and the CLI

How it works with TikTok

Once the TikTok Pixel is connected, a person's visit goes through a brief page in their browser. That page loads TikTok's standard base code with your pixel ID and calls ttq.page(), which sends a page view. It then redirects as soon as TikTok has answered the page view. TikTok's base code loads a second script before it sends the page view, so on a slow phone connection the page waits for it: up to 1.2 seconds, or up to 2 seconds when the page view is already on its way. See how retargeting pixels fire on slow mobile connections for the measurements.

In TikTok, the page view reports the page URL, which is the address of the Linkbreakers link that was opened, such as your short link or your custom domain link.

Audiences you can build

In TikTok Ads Manager, create a Custom Audience of the Website Traffic type based on your pixel. Choose all website visitors, or visitors of pages whose URL contains the short link of one campaign. TikTok's menu labels change from time to time, so look for the website traffic option in the audiences section of your ad account.

TikTok documents a minimum of 1,000 matched users before a custom audience can be used in an ad group. From a custom audience, you can also build a lookalike audience for prospecting.

Where to find your pixel ID

In TikTok Ads Manager, open Tools > Events Manager and select your web pixel. The pixel ID, a string of capital letters and digits, is shown next to the pixel's name or in its settings.

Linkbreakers checks the shape when you save: 15 to 30 letters or digits. Anything else, such as an ID with spaces or the whole base code pasted in, is refused with RETARGETING_PIXEL_INVALID, and nothing is changed.

Step-by-step in Linkbreakers

  1. Open the dashboard and go to Integrations
  2. Under Retargeting pixels, open TikTok Pixel
  3. Paste your pixel ID and select Connect
  4. Read the delay notice and the consent note on the page
  5. Check that the pixel fires

To use another pixel, replace the ID and select Save. To turn it off, select Remove. When no pixel is left on the workspace, links go back to redirecting instantly.

How to check that it fires

  1. Install the TikTok Pixel Helper extension from the Chrome Web Store
  2. Open one of your links in a normal browser window, not a private window with tracking blocked
  3. The extension shows your pixel and the page view on the first page, before the redirect

In Events Manager, the pixel's overview and its Test Events and Diagnostics tabs show the events TikTok received. Allow a few minutes for them to appear.

Ad blockers and some browsers' tracking protection block the TikTok Pixel. Visitors who use them block it on your links too, as on any website.

The short delay

A pixel is JavaScript that runs in the visitor's browser, and a plain redirect runs none. So once a pixel is connected, people's visits go through the brief page described above: usually well under a second, never longer than 2 seconds. Workspaces without any pixel keep the instant redirect.

If you also use Advanced data collection, both share the same page, so the visit loads one page, not two.

Who fires the pixel

Only visits classified as Human go through the pixel page. Crawlers, link previews (Slack, Teams, Discord, WhatsApp, Facebook, LinkedIn), AI agents and recognized automated browsers get the instant redirect and never reach your TikTok audiences.

See how Linkbreakers detects AI agents and automated browsers for how visits are classified.

The TikTok Pixel sets TikTok's marketing cookies. In the EU and the UK, that usually needs the visitor's consent first. Linkbreakers does not show a consent banner. Covering the pixel in your privacy policy and consent setup is the workspace's responsibility.

Set it up from an AI agent, the API or the CLI

Assistant: in the dashboard, ask "Connect my TikTok pixel C4ABCDEFGHIJKLMNOPQR to all my links".

MCP server: an agent connected to the Linkbreakers MCP server calls retargeting_pixels_update with tiktok_pixel_id. Only the fields sent change, so the other pixels keep their value. For example:

Set my TikTok pixel to C4ABCDEFGHIJKLMNOPQR on my Linkbreakers workspace and leave the other pixels as they are.

REST API, with a token that has the integrations:write scope:

Bash
curl -X PUT https://api.linkbreakers.com/v1/retargeting-pixels \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"tiktokPixelId": "C4ABCDEFGHIJKLMNOPQR"}'

Send {"tiktokPixelId": ""} to remove it.

CLI, from the next CLI release:

Bash
linkbreakers retargeting-pixels update --tiktok-pixel-id C4ABCDEFGHIJKLMNOPQR

See set up every Linkbreakers integration with an AI agent for the other integrations an agent can configure.

Limits and caveats

  • Page views only. Linkbreakers sends the page view. It does not send CompleteRegistration, CompletePayment or other events, and there is no Events API connection
  • All links by default. The pixel fires on every link and QR code of the workspace until you choose Selected links under Where it fires and pick links, directories or tags
  • One TikTok pixel per workspace. For a second one, add it as a tag in Google Tag Manager
  • Short delay on people's visits, usually well under a second, never longer than 2 seconds
  • No consent banner. Consent is the workspace's responsibility
  • Blocked like any pixel by ad blockers and tracking protection
  • Audiences need size. TikTok asks for 1,000 matched users before a custom audience can be used

Frequently asked questions

Which event does Linkbreakers send to TikTok?

A page view, sent by ttq.page() in TikTok's base code, with the Linkbreakers link address as the page URL.

Can I target only the people who scanned one QR code?

Yes, in TikTok. Build a website traffic audience with a rule on the URL of that QR code's short link.

Does my website still need its own TikTok Pixel?

For anything after the redirect, yes. Linkbreakers fires the pixel on the visit to the link. Events on your website still come from the pixel installed there.

Why was my pixel ID refused?

A TikTok pixel ID is 15 to 30 letters or digits. Paste the ID only, not the base code.

Sources

Last reviewed

2026-10-30 by Laurent Schaffner.

About the Author

LS

Laurent Schaffner

Founder & Engineer at Linkbreakers

Passionate about building tools that help businesses track and optimize their digital marketing efforts. Laurent founded Linkbreakers to make QR code analytics accessible and actionable for companies of all sizes.