-
Notifications
You must be signed in to change notification settings - Fork 274
Ortto audiences (Engage) #2927
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
base: main
Are you sure you want to change the base?
Ortto audiences (Engage) #2927
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @xitonix this looks really good!
Very few minor changes needed.
placeholder: '180.1.12.125', | ||
type: 'string', | ||
format: 'ipv4', | ||
default: { '@path': '$.context.ip' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default: { '@path': '$.context.ip' }, | |
default: '@if': { | |
exists: { '@path': '$.traits.ip' }, | |
then: { '@path': '$.traits.ip' }, | |
else: { '@path': '$.properties.ip' } | |
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default mappings are a little different for an Engage Audience Destination.
exists: { '@path': '$.traits.address.country' }, | ||
then: { '@path': '$.traits.address.country' }, | ||
else: { '@path': '$.context.traits.address.country' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exists: { '@path': '$.traits.address.country' }, | |
then: { '@path': '$.traits.address.country' }, | |
else: { '@path': '$.context.traits.address.country' } | |
exists: { '@path': '$.traits.country' }, | |
then: { '@path': '$.traits.country' }, | |
else: { '@path': '$.properties.country' } |
exists: { '@path': '$.traits.address.state' }, | ||
then: { '@path': '$.traits.address.state' }, | ||
else: { '@path': '$.context.traits.address.state' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exists: { '@path': '$.traits.address.state' }, | |
then: { '@path': '$.traits.address.state' }, | |
else: { '@path': '$.context.traits.address.state' } | |
exists: { '@path': '$.traits.state' }, | |
then: { '@path': '$.traits.state' }, | |
else: { '@path': '$.properties.state' } |
exists: { '@path': '$.traits.address.city' }, | ||
then: { '@path': '$.traits.address.city' }, | ||
else: { '@path': '$.context.traits.address.city' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exists: { '@path': '$.traits.address.city' }, | |
then: { '@path': '$.traits.address.city' }, | |
else: { '@path': '$.context.traits.address.city' } | |
exists: { '@path': '$.traits.city' }, | |
then: { '@path': '$.traits.city' }, | |
else: { '@path': '$.properties.city' } |
exists: { '@path': '$.traits.address.postal_code' }, | ||
then: { '@path': '$.traits.address.postal_code' }, | ||
else: { '@path': '$.context.traits.address.postal_code' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exists: { '@path': '$.traits.address.postal_code' }, | |
then: { '@path': '$.traits.address.postal_code' }, | |
else: { '@path': '$.context.traits.address.postal_code' } | |
exists: { '@path': '$.traits.postal_code' }, | |
then: { '@path': '$.traits.postal_code' }, | |
else: { '@path': '$.properties.postal_code' } |
hi @xitonix just checking in to see if you are still interested in getting this PR over the line? If not I'll have to close it. Best regards, |
Hey @joe-ayoub-segment,
This PR is the second part of our work to support syncing Segment Audiences with Ortto. As discussed, we decided to separate it from the main analytics integration and implement it as its own integration.
When you get a chance, I'd really appreciate it if you could take a look.
Thanks,
Alex
Testing