Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: onboard new tiktok version events 2.0 #2961

Merged
merged 10 commits into from
Jan 18, 2024
26 changes: 18 additions & 8 deletions src/v0/destinations/tiktok_ads/data/TikTokTrackV2.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,21 @@
},
{
"destKey": "page.url",
"sourceKeys": ["properties.url", "context.page.url"],
"sourceKeys": ["properties.context.page.url", "properties.url", "context.page.url"],
koladilip marked this conversation as resolved.
Show resolved Hide resolved
"required": true
},
{
"destKey": "page.referrer",
"sourceKeys": ["properties.referrer", "context.page.referrer"],
"sourceKeys": [
"properties.context.page.referrer",
"properties.referrer",
"context.page.referrer"
],
"required": false
},
{
"destKey": "user.locale",
"sourceKeys": "context.locale",
"sourceKeys": ["properties.context.user.locale", "context.locale"],
"required": false
},
{
Expand All @@ -88,12 +92,13 @@
},
{
"destKey": "user.ttp",
"sourceKeys": "properties.ttp",
"sourceKeys": ["properties.context.user.ttp", "properties.ttp"],
"required": false
},
{
"destKey": "user.email",
"sourceKeys": [
ItsSudip marked this conversation as resolved.
Show resolved Hide resolved
"properties.context.user.email",
"context.user.email",
"traits.email",
"context.traits.email",
Expand All @@ -106,18 +111,23 @@
},
{
"destKey": "user.phone",
"sourceKeys": "phone",
"sourceFromGenericMap": true,
"sourceKeys": [
"properties.context.user.phone",
"traits.phone",
"context.traits.phone",
"properties.phone"
],
"sourceFromGenericMap": false,
"required": false
},
{
"destKey": "user.ip",
"sourceKeys": ["context.ip", "request_ip"],
"sourceKeys": ["properties.context.user.ip", "context.ip", "request_ip"],
"required": false
},
{
"destKey": "user.user_agent",
"sourceKeys": "context.userAgent",
"sourceKeys": ["properties.context.user.userAgent", "context.userAgent"],
"required": false
}
]
Loading