amazon-archives / aws-sdk-unity

ARCHIVED: The aws sdk for unity is now distributed as a part of aws sdk for dotnet:
https://github.com/aws/aws-sdk-net
Other
105 stars 43 forks source link

Can we assign client_id to analytics requests? #29

Closed zeroc closed 9 years ago

zeroc commented 9 years ago

We would like to track users based on user id within our game. How can we assign a client_id just as in rest api? http://docs.aws.amazon.com/mobileanalytics/latest/ug/PutEvents.html

Thank you.

ghost commented 9 years ago

Can you share more information about your use case ? Now there is only one client id for the application. Would you have multiple client ids in one application ?

ghost commented 9 years ago

At first time app launch, mobile analytics client would generate a random unique identifier for you as client id and then, cache the identifier for later use. Do you have the user id defined by yourself ?

zeroc commented 9 years ago

Yes, each player in our game has a unique user id. We would like to use that user id as the client id to identify the user.

ghost commented 9 years ago

Hi, just double check: do you have the use case that using more than one client id in your app? For example, you would create two MobileAnalyticsManger instances with different client id.

zeroc commented 9 years ago

The use case is that we would like to specify a client_id, other than a generated random identifier.

Thank you.

ghost commented 9 years ago

All right. We are working on this and will add it in next release.

karthiksaligrama commented 9 years ago

Hi, We have released a new version of the sdk for unity (v1.0.4) which allows you to specify custom client_id's. Please update and let us know if you have any feedback.