From 4f6535511f52765c7a9c4879dfbac199815da54e Mon Sep 17 00:00:00 2001 From: Manish Kumar <144022547+manish339k@users.noreply.github.com> Date: Wed, 22 Jan 2025 14:17:54 +0530 Subject: [PATCH] Revert "feat: added drop traits in track call feature for mixpanel (#1870)" This reverts commit 474cde545d8d2786e49dfe18ef656209e1c31b67. --- .../destinations/mp/db-config.json | 3 +-- .../destinations/mp/schema.json | 4 ---- .../destinations/mp/ui-config.json | 22 ------------------ test/data/validation/destinations/mp.json | 23 ------------------- 4 files changed, 1 insertion(+), 51 deletions(-) diff --git a/src/configurations/destinations/mp/db-config.json b/src/configurations/destinations/mp/db-config.json index b0b7ff7fb..298fadbe9 100644 --- a/src/configurations/destinations/mp/db-config.json +++ b/src/configurations/destinations/mp/db-config.json @@ -109,8 +109,7 @@ "useUserDefinedPageEventName", "userDefinedPageEventTemplate", "useUserDefinedScreenEventName", - "userDefinedScreenEventTemplate", - "dropTraitsInTrackEvent" + "userDefinedScreenEventTemplate" ], "android": [ "consentManagement", diff --git a/src/configurations/destinations/mp/schema.json b/src/configurations/destinations/mp/schema.json index 1ef77ae95..eabd4e256 100644 --- a/src/configurations/destinations/mp/schema.json +++ b/src/configurations/destinations/mp/schema.json @@ -39,10 +39,6 @@ "type": "boolean", "default": false }, - "dropTraitsInTrackEvent": { - "type": "boolean", - "default": false - }, "people": { "type": "boolean", "default": false diff --git a/src/configurations/destinations/mp/ui-config.json b/src/configurations/destinations/mp/ui-config.json index 09f2604dd..6960a5dd5 100644 --- a/src/configurations/destinations/mp/ui-config.json +++ b/src/configurations/destinations/mp/ui-config.json @@ -162,28 +162,6 @@ } ] }, - { - "title": "Track Settings", - "note": "Set how you want to send your track calls to Mixpanel", - "icon": "file", - "fields": [ - { - "type": "checkbox", - "label": "Drop Traits", - "configKey": "dropTraitsInTrackEvent", - "note": "Drop traits from event property in track call", - "default": false, - "preRequisites": { - "fields": [ - { - "configKey": "connectionModes.cloud", - "value": true - } - ] - } - } - ] - }, { "title": "Mixpanel Configuration Settings", "fields": [ diff --git a/test/data/validation/destinations/mp.json b/test/data/validation/destinations/mp.json index 93294b00f..34054629c 100644 --- a/test/data/validation/destinations/mp.json +++ b/test/data/validation/destinations/mp.json @@ -741,28 +741,5 @@ "ketchConsentPurposes.web must be array", "ketchConsentPurposes.unity.0 must be object" ] - }, - { - "config": { - "token": "dummy-token", - "dataResidency": "us", - "people": false, - "setAllTraitsByDefault": false, - "consolidatedPageCalls": true, - "trackCategorizedPages": false, - "trackNamedPages": false, - "crossSubdomainCookie": false, - "persistence": "localStorage", - "secureCookie": false, - "eventFilteringOption": "disable", - "useNativeSDK": { - "web": false - }, - "strictMode": false, - "ignoreDnt": true, - "dropTraitsInTrackEvent": "inValid" - }, - "result": false, - "err": ["dropTraitsInTrackEvent must be boolean"] } ]