Skip to content

Commit

Permalink
fix: consents
Browse files Browse the repository at this point in the history
  • Loading branch information
anantjain45823 committed Oct 9, 2024
1 parent 4972d80 commit 3bd84a5
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"externalAudienceId",
"ttl",
"dataSourceCountry",
"enableHash"
"enableHash",
"oneTrustCookieCategories"
],
"warehouse": ["connectionMode", "consentManagement"]
},
Expand Down
12 changes: 12 additions & 0 deletions src/configurations/destinations/amazon_audience/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@
}
}
},
"oneTrustCookieCategories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"oneTrustCookieCategory": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
}
}
}
},
"connectionMode": {
"type": "object",
"properties": {
Expand Down
26 changes: 26 additions & 0 deletions src/configurations/destinations/amazon_audience/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,32 @@
]
}
]
},
{
"title": "OneTrust cookie consent settings",
"note": [
"Enter your OneTrust category names if you have them configured. ",
{
"text": "Learn more ",
"link": "https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/onetrust-consent-manager/"
},
"about RudderStack's OneTrust Consent Manager feature."
],
"fields": [
{
"type": "tagInput",
"label": "Cookie category name",
"note": "Input your OneTrust category names by pressing 'Enter' after each entry",
"configKey": "oneTrustCookieCategories",
"tagKey": "oneTrustCookieCategory",
"placeholder": "e.g: Credit card visit",
"default": [
{
"oneTrustCookieCategory": ""
}
]
}
]
}
]
}
Expand Down

0 comments on commit 3bd84a5

Please sign in to comment.