From d450a052a7f6fa47eae296d3b30fdfeb802dbf56 Mon Sep 17 00:00:00 2001 From: Ashish Choudhary <78401141+proModeLife@users.noreply.github.com> Date: Tue, 9 Jan 2024 18:57:31 +0530 Subject: [PATCH] Update bluecoreTrackConfig.json --- .../bluecore/data/bluecoreTrackConfig.json | 58 +++++++++++++++---- 1 file changed, 46 insertions(+), 12 deletions(-) diff --git a/src/v0/destinations/bluecore/data/bluecoreTrackConfig.json b/src/v0/destinations/bluecore/data/bluecoreTrackConfig.json index 66df422ef1..c996c4a94a 100644 --- a/src/v0/destinations/bluecore/data/bluecoreTrackConfig.json +++ b/src/v0/destinations/bluecore/data/bluecoreTrackConfig.json @@ -1,42 +1,76 @@ [ { - "destKey": "distinct_id", + "destKey": "properties.distinct_id", "sourceKeys": ["userId", "anonymousId", "email"], - "required": true + "required": false }, { - "destKey": "customer.name", + "destKey": "properties.customer.name", "sourceKeys": "name", + "required": false, + "sourceFromGenericMap": true + }, + { + "destKey": "properties.customer.first_name", + "sourceKeys": "firstName", + "required": false, + "sourceFromGenericMap": true + }, + { + "destKey": "properties.customer.last_name", + "sourceKeys": "lastName", + "required": false, + "sourceFromGenericMap": true + }, + { + "destKey": "properties.customer.age", + "sourceKeys": ["context.traits.age","traits.age"], "required": false }, { - "destKey": "customer.age", - "sourceKeys": "age", + "destKey": "event", + "sourceKeys": "event", "required": false }, { - "destKey": "customer.sex", - "sourceKeys": "sex", + "destKey": "properties.customer.sex", + "sourceKeys": ["traits.gender", "context.traits.gender","traits.sex", "context.traits.sex"], "required": false }, { - "destKey": "customer.address", + "destKey": "properties.customer.address", "sourceKeys": "address", - "required": false + "required": false, + "sourceFromGenericMap": true }, { - "destKey": "customer.email", + "destKey": "properties.customer.email", "sourceKeys": "email", "required": false, "sourceFromGenericMap": true }, { - "destKey": "client", + "destKey": "properties.search_term", + "sourceKeys": "properties.query", + "required": false + }, + { + "destKey": "properties.order_id", + "sourceKeys": ["properties.order_id", "properties.orderId"], + "required": false + }, + { + "destKey": "properties.total", + "sourceKeys": "properties.total", + "required": false + }, + { + "destKey": "properties.client", "sourceKeys": "context.app.version", "required": false }, { - "destKey": "device", + "destKey": "properties.device", "sourceKeys": "context.device.model", "required": false }