Solved

Adding Subscriber attributes

  • 28 March 2022
  • 4 replies
  • 356 views

Badge +4

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

icon

Best answer by ryan 29 March 2022, 01:44

View original

4 replies

Userlevel 5
Badge +9

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.

Userlevel 1
Badge +6

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?

Badge

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.

Userlevel 5
Badge +8

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

Reply