The Analytics device is designed to work with other devices by registering when players interact with devices on your island. This includes stepping on a trigger, entering a volume, eliminating an enemy, or pressing a button. The Analytics device records this data and sends it to the Creator Portal every day.
For a list of the Analytics device best practices, see the Analytics Dashboard document.
Analyzing Gameplay
The following are suggested ways to use the Analytics device in popular game types.
Deathrun
To capture data on the number of levels players complete in a deathrun, set the Analytics device to listen for players who activate the Player Checkpoint device.
Configure the user options for the Player Checkpoint device on your island, then add Mutator Zones to all the level entrances.
Next, add the Analytics devices to receive information when the checkpoints are activated and to submit the checkpoint data when players enter the Mutator Zone on the next level.
DIRECT EVENT BINDING
Device A | Function | Device B | Event |
---|---|---|---|
Analytics Device | Submit | Mutator Zone | On Player Entering Zone |
Name the events clearly so you know what the device is monitoring, and number the events according to the number of levels in your deathrun. Notice in the example below that the name of the event is tied to the placement of the first checkpoint.
You can place up to 50 Analytics devices on an island at once.
Prop Hunt
Use the Analytics devices to determine whether hunters in a prop hunt game are evenly matched to the hidden players. Set up the necessary devices for the prop hunt gameplay. In this instance you’ll use two Analytics devices to track the number of players in the game versus the number eliminations.
Set one Analytics device to track the number of players that join a game, then set another Analytics device to track the number of eliminations in a game.
DIRECT EVENT BINDING
Device A | Function | Device B | Event |
---|---|---|---|
Analytics Device - Players_Spawn | Submit | Player Spawner | On Player Spawned |
Analytics Device - Players_Eliminated | Submit | Elimination Manager | On Eliminated |
Capture the Flag
Determine the number of times a flag is captured by monitoring how many times the flag is taken to the capture area. Once you’ve set the flag and capture areas, add an analytics device for each team. Set each device to monitor the capture event for one of the teams.
DIRECT EVENT BINDING
Device A | Function | Device B | Event |
---|---|---|---|
Analytics Device - Team 1 | Submit | Capture Area - Team 1 | On Control Change |
Analytics Device - Team 2 | Submit | Capture Area - Team 2 | On Control Change |
Analyzing Events Using Verse
Ensure the devices you intend to monitor with the Analytics device have a Player Agent function. Without a player-led action, the Analytics device will not record any data. Use the Verse API to search for Player Agent functions on the device.
Set up the basic options for the devices to ensure they behave the way you want them to.
Create a Verse script following the directions in Create Your Own Verse Device.
You can follow the example code for the Analytics Device from the device page in Fortnite Creative documentation.