Skip to content

Commit

Permalink
feat: add object data support moengage
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshkutty committed Feb 25, 2025
1 parent fe22b4b commit 8de6f83
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 21 deletions.
89 changes: 69 additions & 20 deletions src/configurations/destinations/moengage/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"oneTrustCookieCategories",
"eventFilteringOption",
"consentManagement",
"ketchConsentPurposes"
"ketchConsentPurposes",
"useObjectData"
],
"excludeKeys": [],
"supportedSourceTypes": [
Expand All @@ -30,26 +31,71 @@
"shopify"
],
"supportedMessageTypes": {
"cloud": ["identify", "track", "alias"],
"cloud": [
"identify",
"track",
"alias"
],
"device": {
"web": ["identify", "track"],
"android": ["identify", "track", "alias"],
"ios": ["identify", "track", "alias"],
"reactnative": ["identify", "track", "alias"]
"web": [
"identify",
"track"
],
"android": [
"identify",
"track",
"alias"
],
"ios": [
"identify",
"track",
"alias"
],
"reactnative": [
"identify",
"track",
"alias"
]
}
},
"supportedConnectionModes": {
"web": ["cloud", "device"],
"android": ["cloud", "device"],
"ios": ["cloud", "device"],
"reactnative": ["cloud", "device"],
"unity": ["cloud"],
"amp": ["cloud"],
"flutter": ["cloud"],
"cordova": ["cloud"],
"shopify": ["cloud"],
"cloud": ["cloud"],
"warehouse": ["cloud"]
"web": [
"cloud",
"device"
],
"android": [
"cloud",
"device"
],
"ios": [
"cloud",
"device"
],
"reactnative": [
"cloud",
"device"
],
"unity": [
"cloud"
],
"amp": [
"cloud"
],
"flutter": [
"cloud"
],
"cordova": [
"cloud"
],
"shopify": [
"cloud"
],
"cloud": [
"cloud"
],
"warehouse": [
"cloud"
]
},
"destConfig": {
"defaultConfig": [
Expand All @@ -58,7 +104,8 @@
"region",
"blacklistedEvents",
"whitelistedEvents",
"eventFilteringOption"
"eventFilteringOption",
"useObjectData"
],
"web": [
"useNativeSDK",
Expand Down Expand Up @@ -132,6 +179,8 @@
"ketchConsentPurposes"
]
},
"secretKeys": ["apiKey"]
"secretKeys": [
"apiKey"
]
}
}
}
16 changes: 15 additions & 1 deletion src/configurations/destinations/moengage/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,20 @@
"value": "useNativeSDK",
"default": false
},
{
"type": "checkbox",
"label": "Send object data in events",
"value": "useObjectData",
"default": false,
"preRequisites": {
"featureFlags": [
{
"value": true,
"configKey": "AMP_use-moenage-object-data"
}
]
}
},
{
"type": "checkbox",
"label": "Debug Mode",
Expand Down Expand Up @@ -191,4 +205,4 @@
]
}
]
}
}

0 comments on commit 8de6f83

Please sign in to comment.