From ee4f9992e46c0fcf5c863ca902ae78016bd278dd Mon Sep 17 00:00:00 2001 From: Zihe Jia Date: Fri, 6 May 2022 21:40:52 -0700 Subject: [PATCH] Fix typo in Mixpanel DevX internal tracking --- src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java b/src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java index f500aed5..1951db47 100644 --- a/src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java +++ b/src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java @@ -311,7 +311,7 @@ private void sendHttpEvent(String eventName, String token, String distinctId, JS addProperties.put(eventName, 1); peopleMessageProps.put("$add", addProperties); peopleMessageProps.put("$token", token); - peopleMessageProps.put("$distinct_id", token); + peopleMessageProps.put("$distinct_id", distinctId); mMessages.peopleMessage(new AnalyticsMessages.PeopleDescription(peopleMessageProps, token)); } mMessages.postToServer(new AnalyticsMessages.FlushDescription(token, false));