diff --git a/src/cdk/v2/destinations/bluecore/utils.js b/src/cdk/v2/destinations/bluecore/utils.js index c93aaf6ef7..a2e56331b6 100644 --- a/src/cdk/v2/destinations/bluecore/utils.js +++ b/src/cdk/v2/destinations/bluecore/utils.js @@ -181,7 +181,7 @@ const mapCustomProperties = (message) => { ); break; case 'TRACK': - customProperties.properties.customer = extractCustomFields( + const customerProperties = extractCustomFields( message, {}, ['traits', 'context.traits'], @@ -193,6 +193,7 @@ const mapCustomProperties = (message) => { ['properties'], TRACK_EXCLUSION_LIST, ); + customProperties.properties.customer = customerProperties; break; default: break;