question

vladimir-1 avatar image
vladimir-1 asked

What data is being tracked by the options from the Data Collection tab in Title Settings?

Hello,

We're using Playfab Analytics in our Unity game to track anonymous player data. To do this we're using PlayFabClientAPI.LoginWithCustomID.

What data is tracked on top of this, automatically?

There are a couple of options in the Title Settings, under the Data Collection tab.

  • Enable focus time reporting

  • Enable device info reporting

  • Store full user IP addresses

What data is stored for each of these options? What data is stored if each of these options is disabled? Is there any step client-side we need to take to insure player data is anonymous?

We're trying to track down what exactly is being tracked so we can provide our legal counsel with more info and figure out how to set up our game so it's GDPR-compliant.

I haven't been able to find it, but if there is any documentation on the subject I would appreciate it if you could link it as well.

Regards, Vladimir

Player Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Xiao Zha avatar image
Xiao Zha answered

If you enable the “Enable focus time reporting” option, the client will emit session start and focus on/off events which you can use for calculating focus time and session duration. For more information about these two events, you can refer to client_session_start - PlayFab | Microsoft Learn and client_focus_change - PlayFab | Microsoft Learn. If you enable the “Enable device info reporting” option, the client will emit device info event at session start. You can refer to player_device_info - PlayFab | Microsoft Learn for more information. Disabling these options will prevent these events from being emitted by the client.

If you enable the “Store full user IP addresses” option, the server will store the user’s full IP address. If disabled, the last four digits of the IP address will be obfuscated. You can check the IP address in player logged in event or in the Logins page of each player(it will have some delay).

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

vladimir-1 avatar image vladimir-1 commented ·

Hey Xiao!

Regarding the three events you outlined, could you please go into more detail what is contained in these specific fields:

  • client_session_start.EntityId/ client_focus_change.EntityId - is it the same ID that is passed as CustomId when calling LoginWithCustomID?

  • player_device_info.DeviceInfo - What data does this object contain, and how is it populated depending on the platform the game is running on?

Thanks for your help, Vladimir

0 Likes 0 ·
Xiao Zha avatar image Xiao Zha vladimir-1 commented ·

The EntityId is the Title player account ID not the CustomId, you can refer to Available Built-In Entity Types - PlayFab | Microsoft Learn to have more information about Entity. And the DeviceInfo is gathered by Report Device Info API. You can refer to UnitySDK/PlayFabDataGatherer.cs at master · PlayFab/UnitySDK · GitHub to check which information is collected by PlayFab Unity SDK (Unity SDK will automatically call the Report Device Info API, other SDK need to call the Report Device Info API with device info manually).

0 Likes 0 ·
vladimir-1 avatar image
vladimir-1 answered

Hello,

any updates on this?

Thanks

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Xiao Zha avatar image Xiao Zha commented ·

I have responded to a comment under your last question. You can click button Show to check my reply.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.