TikTok Pixel Event Code Generator — ttq.track Events

Create TikTok Pixel event code — ttq.track('CompletePayment', …) — for SubmitForm, CompleteRegistration, AddToCart, PlaceAnOrder, CompletePayment and more, with contents, value, currency and an event ID to match the Events API.

Runs in your browserUpdated

Items

Your data never leaves your computer. All processing happens 100% locally in your browser.

How to use the TikTok Pixel Event Generator

  1. Pick the event.
  2. Fill in value, currency and contents.
  3. Add an event ID if you also use the Events API.
  4. Copy the code; check it with TikTok Pixel Helper or Events Manager → Test events.

TikTok’s standard events

TikTok renamed several events in 2024 — use CompletePayment for purchases, SubmitForm for leads and PlaceAnOrder when the order is placed before payment. Ecommerce events need contents with content_id for catalog ads.

Also searched as: tiktok pixel event code, ttq track, tiktok pixel completepayment, tiktok standard events, tiktok pixel submitform, tiktok events api event id.

Tools that pair well with the TikTok Pixel Event Generator

  • Ad Pixel Event Code Generator — Pick a platform — Meta Pixel, Meta Conversions API, TikTok Pixel, LinkedIn Insight Tag or Pinterest Tag — choose a standard event like Lead, Purchase or CompletePayment, fill in the value, currency and items, and copy code that fires right away or on a click or form submit.
  • Meta Pixel Event Generator — Build Meta Pixel event code — fbq('track', 'Purchase', …) — for Lead, Purchase, AddToCart, CompleteRegistration and every other standard event, with value, currency and contents, an event ID for deduplication, and an optional click or form-submit trigger.
  • Pinterest Tag Event Generator — Create Pinterest Tag event code — pintrk('track', 'checkout', …) — for checkout, addtocart, lead, signup, search and more, with value, currency, line items, order ID and an event ID for the Conversions API.
  • Consent Mode Checker — Check a site’s cookie consent the way a regulator or an ad platform would.

Frequently asked questions

Which TikTok event is a purchase?
CompletePayment, with value and currency.
Where does the event ID go?
In the third argument: ttq.track('CompletePayment', {…}, { event_id: 'order_123' }).
Do I need content_id?
For Video Shopping and catalog ads, yes — it must match the product IDs in your catalog.
Can I install TikTok Pixel Event Generator as a web app and use it offline?
Yes. TikTok Pixel Event Generator is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

Related tools