feat(tiktokPixel): support event_id options on track + add missing st…#779
feat(tiktokPixel): support event_id options on track + add missing st…#779harlan-zw wants to merge 5 commits into
Conversation
…andard events
Adds optional fourth `options` arg to `ttq('track', ...)` typed overload
exposing `event_id` for Pixel + Events API deduplication, and adds the
current TikTok standard events `Purchase` and `StartTrial` to the
`StandardEvents` union.
Closes #767
…d matching - region: 'us' option routes SDK through analytics.us.tiktok.com for data residency - TrackOptions: add test_event_code for Test Events sandbox - EventProperties: add order_id (transaction-level dedup) - IdentifyProperties: add first_name/last_name/city/state/country/zip_code - dev warning when identify() receives unhashed values (SHA-256 required) - docs: server-side dedup, region, test events, advanced matching sections
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis PR extends the TikTok Pixel script integration with data residency support and event deduplication. It adds an optional Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…andard events
Adds optional fourth
optionsarg tottq('track', ...)typed overloadexposing
event_idfor Pixel + Events API deduplication, and adds thecurrent TikTok standard events
PurchaseandStartTrialto theStandardEventsunion.Closes #767### 🔗 Linked issue
📚 Description