Connect TikTok ads
This article shows you how to connect your TikTok pixel, so PlayerMagick sends your confirmed sales and viewing events to TikTok through the Events API.
Available on: Pro, Business and Agency plans. Only the account owner or an admin can connect it.
Before you start
- You need a TikTok pixel in TikTok Events Manager, and access to its settings.
- TikTok asks advertisers to accept its data terms before sending events. Check them with whoever handles your legal questions.
Step 1: Copy your pixel code and an access token
- In TikTok Events Manager, open your pixel and copy its code.
- Go to Settings → Events API and click Generate Access Token. Copy it.
- Optional: open Test events and copy the test code.
Step 2: Connect in PlayerMagick
- Go to Settings → Ad platforms.
- On TikTok, click Connect.
- Paste the Pixel code, the Access token and, if you have one, the Test event code.
- Click Connect and send a test event. If TikTok refuses the token, nothing is saved.
What TikTok gets
- Purchase for confirmed sales, with amount and currency, Lead for email gate leads, ViewContent when the button appeared.
- The watch events and button clicks are custom events: TikTok uses them for reports and audiences, not to optimize campaigns.
- Emails and phone numbers are hashed before they leave PlayerMagick.
- Refunds stay in your PlayerMagick reports: TikTok has no way to receive them.
Troubleshooting
- "Needs attention": TikTok refused the token. Choose Replace token. Events wait and go out once it works (TikTok gets events up to 7 days old).