One of the customer is using setAdvertisingIdentifier API which updates the identityMp with GAID and IDFA for iOS and android respectively in the subsequest xdm events. the removeIdentity method will not remove the idfa and GAID values. Does anyone know if we would like to remove GAID and IDFA from identityMap, what shall be the way for it?
Views
Replies
Total Likes
From the AI Assistant:
To remove GAID (Google Advertising ID) and IDFA (Identifier for Advertisers) from the IdentityMap after using the setAdvertisingIdentifier API in AEP Mobile SDK, you can follow the steps outlined in the provided documents. Here's a comprehensive guide to help you achieve this:12
Use the Identity.removeIdentity
API:
Identity.removeIdentity
API to remove the identity from the stored client-side identity map. This will stop sending the identifier to the Edge Network. However, it's important to note that using this API does not remove the identifier from the server-side identity graph.Navigate to the App Code:
Luma
> Luma
> Utils
> MobileSDK
and Luma
> Luma
> Views
> General
> LoginSheet
sections in the Xcode Project navigator.Implement the Code:
Validate with Identity Graph:
By following these steps, you can effectively remove GAID and IDFA from the IdentityMap after using the setAdvertisingIdentifier API in the AEP Mobile SDK.1
@AnkitAg3 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes