TikTok Pixel logo

TikTok Pixel

SalesIntegration

About TikTok Pixel

TikTok's ad tracking. Bask reports purchases from your intake flows to TikTok, so ad spend is attributed to real sales.

How Bask works with TikTok Pixel

  • With an Events API access token, Bask sends a CompletePayment event for each sale straight from its servers to TikTok. Without the token, no direct report is sent.
  • The event carries the order value in US dollars and each product bought, by ID and name.
  • Patient details such as email, phone, first and last name, city, state, zip code and country are hashed with SHA-256 before they are sent. Bask also passes TikTok's ttclid and ttp IDs, the IP address and the user agent when it has them.
  • This connection does not add a browser pixel to Studio sites. If you also want reports from the patient's browser, add them through Google Tag Manager.
  • The purchase data layer on Studio flows includes an event_id that matches the ID Bask sends to TikTok. Pass the same event_id from a browser tag and TikTok can count the sale once.
  • A test event code applies to the reports Bask sends directly. It does not redirect browser reports or switch off campaign reporting.

Set up TikTok Pixel

  1. Open App Store in your Bask sidebar, choose TikTok Pixel, then choose Connect.
  2. Enter the Pixel code from TikTok Events Manager. It accepts letters and numbers only, so paste the code and not a script snippet.
  3. To send direct purchase reports, add your Events API access token.
  4. For live use, leave Test event code empty. To run a test, enter the code TikTok shows in Events Manager.
  5. Choose Connect in the save bar.
  6. If you add a browser purchase tag in Tag Manager, pass the same event_id so TikTok does not count the sale twice.

What you need for TikTok Pixel

Your Pixel Code from TikTok Events Manager. Optionally an Events API access token for direct purchase reports, and a test event code while you verify.

Good to know

  • Leave the test event code empty in production.
  • Disconnecting stops new reports. Events already sent stay in TikTok, and browser tags you installed in Tag Manager have to be managed there.

Who it is for

Usually set up by a marketing agency with permission to manage integrations in Bask. It suits teams that run TikTok ads and want purchases credited to the campaigns that drove them.

How it installs

Installed with keys you paste in