Solved

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

  • 24 February 2022
  • 1 reply
  • 273 views

Badge +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🙏

 

icon

Best answer by Andy 25 February 2022, 21:56

View original

1 reply

Userlevel 5
Badge +8

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