Skip to content

Commit 7a659c6

Browse files
committed
Add ACCOUNT_LOGOUT event to Mixpanel tracker.
1 parent 7a91682 commit 7a659c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

WordPressAnalytics/src/main/java/org/wordpress/android/analytics/AnalyticsTrackerMixpanel.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,10 @@ private AnalyticsTrackerMixpanelInstructionsForStat instructionsForStat(
597597
instructions.addSuperPropertyToFlag("jetpack_user");
598598
instructions.addSuperPropertyToFlag("dotcom_user");
599599
break;
600+
case ACCOUNT_LOGOUT:
601+
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
602+
mixpanelInstructionsForEventName("Logged Out");
603+
break;
600604
case PERFORMED_JETPACK_SIGN_IN_FROM_STATS_SCREEN:
601605
instructions = AnalyticsTrackerMixpanelInstructionsForStat.
602606
mixpanelInstructionsForEventName("Signed into Jetpack from Stats Screen");

0 commit comments

Comments
 (0)