TikTok Pixel & Events API
SonoTrix add-on for CS-Cart that installs the TikTok Pixel in the browser and sends selected events through the Events API from your server.
What you need from TikTok
- A TikTok Pixel ID (Pixel Code)
- A long-lived Events API Access Token from TikTok Events Manager
Install the add-on
- Download the TikTok Pixel & Events API package.
- Go to Add-ons → Manage add-ons.
- Upload, install, and enable the add-on.
See also: How to Install CS-Cart Add-ons.
Part A — TikTok Events Manager setup
Step 1: Create or open a Pixel
- Sign in to TikTok Ads Manager / Events Manager.
- Open Assets → Events (or Events Manager).
- Create a Web pixel if you do not have one, or select an existing pixel.
- Open pixel details / settings.
Step 2: Copy the TikTok Pixel ID
- Find the Pixel ID / Pixel Code.
- Copy it for the add-on TikTok Pixel ID field.
Step 3: Generate an Events API access token
- In Events Manager open your pixel.
- Go to Settings (or Developers / Generate Access Token, depending on TikTok UI language).
- Generate a long-lived Events API access token.
- Copy and store it securely.
note
TikTok menus move occasionally. If you do not see Generate Access Token, confirm you have admin rights on the advertiser account and that Events API is enabled for the pixel.
Part B — Configure the CS-Cart add-on
Go to Add-ons → Manage add-ons → TikTok Pixel & Events API → Settings.
Pixel Credentials
- Paste TikTok Pixel ID.
- Paste Events API Access Token.
- Save. Leave the token blank on later saves to keep the existing value.
Pixel Events (browser)
Enable as needed:
- PageView
- ViewContent
- AddToCart
- InitiateCheckout
- Purchase
- Search
- CompleteRegistration
Events API (server)
Enable server-side events, typically:
- Purchase
- AddToCart
- InitiateCheckout
- ViewContent
Storefronts Pixels
Per storefront: Disabled, Default, or Custom (override Pixel ID and token).
Verify
- Browse products, add to cart, and place a test order.
- In TikTok Events Manager, confirm events under Test Events / diagnostics.
- After validation, keep both browser and Events API Purchase enabled for better match rates.
Official TikTok help
- TikTok Events API overview
- TikTok Ads Manager → Events / Assets documentation in your region