# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-analytics-devices-in-fortnite-creative
# Local doc: epic-docs/documentation/en-us/fortnite-creative/using-analytics-devices-in-fortnite-creative.md
# Section: Using Analytics in Verse
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
# A Verse-authored creative device that can be placed in a level
analytics_device_verse_example := class(creative_device):
# Reference to the Analytics device in the level.
# In the Details panel for this Verse device,
# set this property to your Analytics device.
@editable
MyAnalyticsDevice:analytics_device = analytics_device{}
# Reference to the Damage Volume device in the level.
# In the Details panel for this Verse device,
# set this property to your Damage Volume device.
@editable
DamageVolume:damage_volume_device = damage_volume_device{}
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
# Example for subscribing to an event on the Creative device.
# Signaled when an agent enters the damage volume.
Verse Library
verse
01 Using Analytics In Verse
Triggers agent entries into damage volumes and submits tracking data to Fortnite analytics.
extracted-snippets/documentation/en-us/fortnite-creative/using-analytics-devices-in-fortnite-creative/01-using-analytics-in-verse.verse
Sign in free to read the full source 🌴
This Verse Library file is members-only. Create a free account to view the complete source and download the .verse file.