Skip to content

Commit

Permalink
chore: updated default mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
aanshi07 committed Oct 10, 2024
1 parent 064360c commit 96b2b7f
Showing 1 changed file with 21 additions and 27 deletions.
48 changes: 21 additions & 27 deletions src/configurations/destinations/tune/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,27 @@
"type": "dynamicCustomForm",
"label": "Map RudderStack event to Tune event",
"configKey": "tuneEvents",
"default": [
"rowFields": [
{
"rsField": "Purchase Event",
"destField": "purchase",
"eventProperties": [
"type": "textInput",
"label": "URL",
"configKey": "url",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$|^$",
"regexErrorMessage": "Invalid URL",
"placeholder": "e.g. https://demo.go2cloud.org/aff_l?offer_id=45&aff_id=1029"
},
{
"type": "textInput",
"label": "Event name",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$",
"configKey": "eventName",
"placeholder": "e.g: Product Added"
},
{
"label": "Map Rudder payload property to Tune Field",
"type": "mapping",
"configKey": "eventsMapping",
"default": [
{
"from": "advSub",
"to": "adv_sub"
Expand Down Expand Up @@ -252,29 +268,7 @@
"from": "transactionId",
"to": "transaction_id"
}
]
}
],
"rowFields": [
{
"type": "textInput",
"label": "URL",
"configKey": "url",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$|^$",
"regexErrorMessage": "Invalid URL",
"placeholder": "e.g. https://demo.go2cloud.org/aff_l?offer_id=45&aff_id=1029"
},
{
"type": "textInput",
"label": "Event name",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$",
"configKey": "eventName",
"placeholder": "e.g: Product Added"
},
{
"label": "Map Rudder payload property to Tune Field",
"type": "mapping",
"configKey": "eventsMapping",
],
"columns": [
{
"type": "textInput",
Expand Down

0 comments on commit 96b2b7f

Please sign in to comment.