Skip to main content

Is there a way to add user info when they purchase, like email for example?

Yup! You can attach any arbitrary metadata to a customer in RevenueCat. More info here: https://docs.revenuecat.com/docs/subscriber-attributes


There are some reserved attributes for some common fields as well, such as email.


I am using this code to update user name and email, but the changes don’t show up on Customer Profile page for this user on RevenueCat dashboard.

Purchases.setDisplayName(“John Doe”);

Purchases.setEmail(“john@doe.com”);

Does it take a while to update? Is this really the correct way to update user profile info?


I am using this code to update user name and email, but the changes don’t show up on Customer Profile page for this user on RevenueCat dashboard.

Same here, I’m setting attributes via the REST API, and they show up when I hit the subscriber status endpoint, but they do not show up in the RevenueCat dashboard.


@goleary which attributes are you setting? I’m wondering whether they might be reserved attributes or otherwise showing up slightly differently


I realize this is an old thread -- but I also don’t see any answers or resolution.  How did this resolve?


Hi ​@Red-Rob, when subscriber attributes via the SDK syncing happens when the app is foregrounded, backgrounded, or when making a purchase. If you want you can also use the syncAttributesAndOfferingsIfNeeded() method to explicitly sync attributes mid-session, see our docs here

Setting them via our API endpoint here will set them right away, but our customer lists cache and refresh every two hours so that could be a reason why viewing a user’s customer profile may not show this immediately. 


Reply