Solved

Unset Custom User Properties [iOS SDK]


We use the identify function to set several custom user properties. However, when we attempt to unset these properties, they do not get updated or removed in the Amplitude Dashboard.

icon

Best answer by Saish Redkar 5 June 2024, 18:26

View original

4 replies

Userlevel 7
Badge +10

Hi @ishtiakahmed 

Ingested data in Amplitude is immutable, hence you will see all previously ingested properties on the raw event even if you unset these properties moving forward. You can hide these user properties from the chart dropdowns using the Data UI

 

Userlevel 5
Badge +5
Hi ishtiakahmed,

This is Yuanyuan from the Amplitude Support team - happy to help!

Saish is correct that ingested data in Amplitude is immutable. The 'under' identify calls only prevent the user properties from being synced to future events. It can't retroactively remove the historical data from the UI.

I hope this is helpful to you. Have a good day!

Best,
Yuanyuan


P.S. Checkout upcoming events and user meetups on our events page.

Let me provide more context:

We are in the process of updating several user properties (for example, user_joined_through = “deeplink/regular open/from social media”) with each app launch on both Android and iOS platforms. We are utilizing the Identify API and the set function to achieve this.

 

On the Android SDK, this process works seamlessly. Every time the app is opened, we trigger the Identify function with the new user property value, and these updates are correctly reflected on the Amplitude dashboard.

 

However, we are experiencing issues with the iOS SDK. Once user properties are set on iOS, we cannot update them with new values upon subsequent app launches. These changes do not appear in the Amplitude dashboard.

 

Why is there a discrepancy between the Android and iOS SDKs when using the same function? If we set a new value, it should be updated and reflected in the Amplitude dashboard, correct?

 

 

Userlevel 5
Badge +5
This request was closed and merged into request #321006 'Set user properties using identi...'.


P.S. Checkout upcoming events and user meetups on our events page.

Reply