Version: 2020.3
Language : English
Standard Events
Custom Event scripting

Custom Events

Note: Gaming Services Analytics is now available as a preview packageA preview package is in development and not yet ready for production. A package in preview might be at any stage of development, from the initial stages to near completion.
See in Glossary
. Gaming Services AnalyticsAbbreviation of Unity Analytics
See in Glossary
is an improved offering that allows you to easily understand game performance and player behaviors so you can make strategic decisions. See the documentation.

Custom Events can be any specific in-game action your user performs. They allow you to track the player behavior that Unity AnalyticsA data platform that provides analytics for your Unity game. More info
See in Glossary
does not track automatically, and for which there is no Standard Event. Each Custom Event can have up to ten parameters. There are no required parameters.

In general, you should only using Custom Events when no suitable Standard Event is defined. Because Standard Events have a defined context, Unity can provide better analysis and visualization support than for Custom Events.

You can send a Custom Event to the Analytics Service using the Analytics Event Tracker component. Just select Custom instead of a Standard Event. You can also send Custom Events using code.


  • 2018–03–02 Page published 2018–03–02 - Service compatible with Unity 5.2 onwards at this date but version compatibility may be subject to change

  • New feature in 5.2

  • Standard Events added as Unity package

Standard Events
Custom Event scripting