Skip to content

Commit

Permalink
feat(analytics-js-integrations): add in-app message in customerIo (#1017
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ItsSudip authored Nov 10, 2023
1 parent 8e0cf6a commit 7cf7385
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/configurations/destinations/customerio/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"oneTrustCookieCategories",
"ketchConsentPurposes",
"eventFilteringOption",
"sendPageNameInSDK"
"sendPageNameInSDK",
"dataUseInApp"
],
"excludeKeys": [],
"supportedSourceTypes": [
Expand Down Expand Up @@ -45,7 +46,7 @@
"oneTrustCookieCategories",
"ketchConsentPurposes"
],
"web": ["useNativeSDK", "sendPageNameInSDK"]
"web": ["dataUseInApp", "useNativeSDK", "sendPageNameInSDK"]
},
"secretKeys": []
}
Expand Down
32 changes: 29 additions & 3 deletions src/configurations/destinations/customerio/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,35 @@
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
},
"datacenter": { "type": "string", "enum": ["US", "EU"], "default": "US" },
"sendPageNameInSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } },
"useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } },
"datacenter": {
"type": "string",
"enum": ["US", "EU"],
"default": "US"
},
"sendPageNameInSDK": {
"type": "object",
"properties": {
"web": {
"type": "boolean"
}
}
},
"useNativeSDK": {
"type": "object",
"properties": {
"web": {
"type": "boolean"
}
}
},
"dataUseInApp": {
"type": "object",
"properties": {
"web": {
"type": "boolean"
}
}
},
"eventFilteringOption": {
"type": "string",
"enum": ["disable", "whitelistedEvents", "blacklistedEvents"],
Expand Down
7 changes: 7 additions & 0 deletions src/configurations/destinations/customerio/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@
"label": "Use device-mode to send events",
"value": "useNativeSDK",
"default": false
},
{
"type": "checkbox",
"label": "Enable in-app message support",
"value": "dataUseInApp",
"default": false,
"footerNote": "Turn it ON if you want to send in-app messages to your website."
}
]
},
Expand Down

0 comments on commit 7cf7385

Please sign in to comment.