Identifying players

How can I identify a player?

Infinario automatically creates an anonymous player when the method initialize() is called for the first time on a device. These players are identified by a generated cookie which means that subsequent sessions within a single device will be tracked to the same player.

However it is also possible to track a single player across more platforms or devices and for example connect events players make in the Android and iOS version of your game. To achieve this you must identify the player by a custom identifier (e.g. email) every time it is possible (for example when the  player logs in with Facebook).

To identify a player you should use the method identify() of the SDK that you are using.