-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixing lytics user_id and anonymousId mapping (#3745)
* fix: fixing lytics user_id and anonymousId mapping * fix: adding mapping config for identify call and clean up of native code * fix: adding user and anonymousId mapping for other calls as well --------- Co-authored-by: Krishna Chaitanya <[email protected]>
- Loading branch information
1 parent
08cfdb9
commit 45b1067
Showing
10 changed files
with
165 additions
and
453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { getMappingConfig } from '../../../../v0/util'; | ||
|
||
const CONFIG_CATEGORIES = { | ||
CUSTOMER_PROPERTIES_CONFIG: { name: 'LYTICSIdentifyConfig' }, | ||
}; | ||
|
||
const MAPPING_CONFIG = getMappingConfig(CONFIG_CATEGORIES, __dirname); | ||
export const CUSTOMER_PROPERTIES_CONFIG = | ||
MAPPING_CONFIG[CONFIG_CATEGORIES.CUSTOMER_PROPERTIES_CONFIG.name]; |
25 changes: 25 additions & 0 deletions
25
src/cdk/v2/destinations/lytics/data/LYTICSIdentifyConfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[ | ||
{ | ||
"destKey": "user_id", | ||
"sourceKeys": "userIdOnly", | ||
"sourceFromGenericMap": true, | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "anonymous_id", | ||
"sourceKeys": "anonymousId", | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "first_name", | ||
"sourceKeys": "firstName", | ||
"sourceFromGenericMap": true, | ||
"required": false | ||
}, | ||
{ | ||
"destKey": "last_name", | ||
"sourceKeys": "lastName", | ||
"sourceFromGenericMap": true, | ||
"required": false | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/v0/destinations/lytics/data/LYTICSPageScreenConfig.json
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.