Skip to main content
Solved

When `created a new alias` will be executed by Identified user?

  • February 24, 2022
  • 1 reply
  • 523 views

Forum|alt.badge.img+7

MyApp requires signIn operation for purchase.

And also, `Purchases.logIn("my_app_user_id");` after signIn.

 

But, `created a new alias`  executed about 1 month after purchased.

This occurs a few users. Why??

In the period, it has been used `$RC:AnonymouseID:xxx` instead of `my_app_user_id`.

It is not expected. it should create alias as `my_app_user_id` as soon as possible(ex. next to First seen using the app).
 

Any help, please🙏

 

Best answer by Andy

Hey @Tsuruoka Hideki

 

When the SDK is configured, if an appUserID is not passed in, an anonymous ID will be created. 

Then upon calling logIn, the appUserID will be aliased to the anonymous ID. 

 

I think what might be happening here is that the app was uninstalled in the period between the original subscription and the trial conversion. 

 

Then the customer gets charged because they haven’t cancelled their subscription, so they see that and they install and open up the app. The app is configured with an anonymous ID again (a new one this time, since it’s a fresh install), and then they logIn, so the alias is created between their new anonymousID and their logged in user. 

 

Hope that makes sense! 

 

View original
Did this post help you find an answer to your question?

1 reply

Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 237 replies
  • Answer
  • February 25, 2022

Hey @Tsuruoka Hideki

 

When the SDK is configured, if an appUserID is not passed in, an anonymous ID will be created. 

Then upon calling logIn, the appUserID will be aliased to the anonymous ID. 

 

I think what might be happening here is that the app was uninstalled in the period between the original subscription and the trial conversion. 

 

Then the customer gets charged because they haven’t cancelled their subscription, so they see that and they install and open up the app. The app is configured with an anonymous ID again (a new one this time, since it’s a fresh install), and then they logIn, so the alias is created between their new anonymousID and their logged in user. 

 

Hope that makes sense! 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings