Hi, I am new to playfab and want to ask, how do I get the country/location of a newly registered player?
Hi, I am new to playfab and want to ask, how do I get the country/location of a newly registered player?
There is a property named “InfoRequestParameters” in the PlayFab Login methods , and in InfoRequestParameters property, you can set the “GetPlayerProfile” property to true and set the “ShowLocations” to true in the “ProfileConstraints” property to get the location of the player when they log in for the second time. Or you can also call GetPlayerProfile API and set the “ShowLocations” to true in the “ProfileConstraints” property to get the location of the player after they register and log in. In addition, please remember to check the Locations box in the [Title settings]->[ClientProfileOptions] page.
2 People are following this question.