Updating player attributes

How can I update a player’s attribute?

You can add various attributes to player profiles in your game. There is an important difference between a player and event attribute. While event attributes are added to events which are tracked to a player, player attributes are set directly for a player.

We recommend you to use player attributes for which you don’t need to have history and that can be set only occasionally or only once, for example player information (like email, name or birthday), current gameplay progress (e.g. current max level or current gold balance), current version of the  game and so on.

To update a player’s attribute you should use the method update() of the SDK that you are using.