ttclid click identifier.
Capturing the TikTok Click ID
When a lead arrives from a TikTok ad, Pingtree automatically captures thettclid parameter from the URL and stores it on the lead record. This identifier links the conversion back to the specific ad click, improving match rates in TikTok Ads Manager.
Step 1: Generate an Access Token
- Log into TikTok Ads Manager.
- Open the Pixel you want to track with.
- Go to the Settings tab.
- Click Generate Access Token under Server-Side Tracking.
Step 2: Define Conversion Points
TikTok conversion events can be tied to any stage in the lead lifecycle. You can map any TikTok standard event or custom event to a Pingtree trigger:Step 3: Send Events to TikTok
Endpoint:Tip: Confirm the exact endpoint version in your TikTok Events Manager, as TikTok may update the API version over time.
Payload Field Mapping
Sample Payload
Attribution Tips
- Always include
ttclidwhen available — it is the strongest signal for TikTok attribution. - Hash
emailandphonewith SHA-256 before sending. Pingtree’s data transformer can handle this automatically. - Use real event timestamps in UTC to avoid time drift issues.
- Include
ipanduser_agentto improve match rates whenttclidis not available.
Troubleshooting
TikTok provides a Test Events tool in the Events Manager to validate your server-side events before going live:- In TikTok Events Manager, locate your pixel and find the Test Events section.
- Copy the test event code.
- In Pingtree, go to your postback configuration and add a static field with the test code.
- Fire a test event using the Test Postback tool in Pingtree.
- Check TikTok Events Manager to confirm the event was received and matched.