# Measure TikTok Purchase after a completed sale Send Purchase only after payment completes, with order value, currency and catalog IDs that reconcile with the order record, and test refunds and retries. - Canonical: https://satracking.net/guides/medir-purchase-tiktok/ - Language: en - Category: platforms - Level: intermediate - Published: 2026-11-10 - Updated: 2026-11-10 --- ## Audience, prerequisites, and outcome Send Purchase only after payment completes, with order value, currency and catalog IDs that reconcile with the order record, and test refunds and retries. Before you start, agree what your organization considers a completed sale, how the order amount is calculated, and which product IDs match the TikTok catalog. Have a test environment or controlled test order. The outcome is one Purchase event for a completed business transaction with truthful order parameters. ## 1. Define the purchase moment TikTok defines Purchase as a visitor making a purchase and recommends using Purchase when placing the order and making the purchase are the same action. Your application may place an order while payment is still pending. If so, wait for the confirmation that meets your business definition (for example, payment success) rather than firing at the first checkout button click. Do not fire Purchase for checkout start, a payment error, a canceled order, or a page view alone. **Expected result:** one documented success condition identifies the application or server state that permits the browser event. ## 2. Prepare order and item values The current [TikTok standard-event reference](https://ads.tiktok.com/resources/help/article/standard-events-parameters?lang=en) recommends `content_type`, `quantity`, `description`, `content_ids`, `currency`, and `value` for Purchase. Map from the confirmed order, not UI text or an untrusted query string. Keep the currency consistent with the order's currency and use catalog-compatible IDs. Agree internally whether `value` means the order amount before or after discounts, tax, or shipping; verify any campaign-specific requirements in TikTok's current instructions before launch. Do not add values that your checkout cannot support reliably. **Expected result:** QA can reconcile the event's amount and item IDs to the test order record. ## 3. Send a direct browser Pixel event After the Pixel base code is installed and initialized, call `ttq.track` only on the confirmed success signal. This illustrative order uses sample data. Replace the amount, currency, product identifier, and quantity with values from the actual confirmed order; the sample numbers are not production values: ~~~js ttq.track('Purchase', { value: 129.95, currency: 'USD', content_type: 'product', content_ids: ['SKU_123'], quantity: 1 }); ~~~ `Purchase` is TikTok's current event code. Do not include customer name, email, phone, address, or payment credentials in these parameters. This event call is not a full Pixel base installation. ## 4. Configure the GTM and data-layer paths distinctly For GTM, configure TikTok's official Pixel template, select `Purchase`, add a custom event trigger for the actual confirmed-success signal, and map order values through reviewed variables. Use GTM Preview to verify the right order fields are resolved. TikTok's [GTM event tag instructions](https://ads.tiktok.com/resources/help/article/how-to-create-tiktok-event-tags-with-google-tag-manager) describe the template and event trigger setup. The site may push an internal event such as: ~~~js window.dataLayer = window.dataLayer || []; window.dataLayer.push({ event: 'order_payment_confirmed', order_id: 'ORDER_987', value: 129.95, currency: 'USD', item_ids: ['SKU_123'] }); ~~~ This generic message does not send anything to TikTok by itself. A configured TikTok tag must listen to `order_payment_confirmed` and map `value`, `currency`, and `item_ids` to the TikTok event fields. Keep internal `order_id` out of TikTok parameters unless current official specifications and your privacy review explicitly support the intended use; it is shown here to illustrate an internal event payload only. ## 5. Prevent duplicate purchases and verify layers Avoid firing on both a successful form callback and a confirmation-page view unless you have a deliberate deduplication strategy. Protect reloads and back/forward navigation with application state or a server-provided purchase-complete event that is emitted once. If you send the same Purchase through Pixel and Events API, TikTok requires the same `event_id` on both copies for deduplication; follow the current [deduplication documentation](https://ads.tiktok.com/resources/help/article/event-deduplication) and do not invent ID rules. If only one channel sends the event, do not add server-side code solely for deduplication. In GTM Preview, confirm one trigger and one event tag with correct resolved values. Use Pixel Helper and Events Manager Test Events/Diagnostics to inspect browser event activity and parameter issues. A tag firing, extension observation, or test display is not proof of attribution or final reporting. ## Common failures and privacy If the event fires too early, move its trigger from the click to a confirmed completion callback. If it fires twice, check refreshes, SPA renders, and duplicate plugin/GTM installs. If value or currency is missing, verify types and field mapping in the real payload. Restrict data to the minimum needed, avoid personal or sensitive information, and gate optional tags according to the site's consent state and applicable requirements. TikTok's [Pixel overview](https://ads.tiktok.com/resources/help/article/tiktok-pixel?lang=en) describes browser data collection and cookies. ## Official references - Set up and Verify TikTok Web Data Connection — https://ads.tiktok.com/resources/help/article/get-started-pixel?lang=en (verified 2026-11-10) - TikTok Standard Events and Parameters — https://ads.tiktok.com/resources/help/article/standard-events-parameters?lang=en (verified 2026-11-10) - About TikTok Pixel — https://ads.tiktok.com/resources/help/article/tiktok-pixel?lang=en (verified 2026-11-10) - About Event Deduplication — https://ads.tiktok.com/resources/help/article/event-deduplication (verified 2026-11-10)