Namespace Unity.Services.Analytics
Classes
AcquisitionSourceEvent
Use this class to record acquisitionSource events.
For more information about the acquisitionSource event, see the documentation page: https://docs.unity.com/ugs/en-us/manual/analytics/manual/attribution-support
AdImpressionEvent
Use this class to record adImpression events.
For more information about the adImpression event, see the documentation page: https://docs.unity.com/ugs/en-us/manual/analytics/manual/record-ad-impression-events
AnalyticsService
CustomEvent
Use this class to record Custom events that are specific to your game, without creating a specific sub-class of Event.
The CustomEvent class is provided as a low-effort way to migrate to the new RecordEvent(...) API from the dictionary-based approach used by prior versions of the Analytics SDK (the CustomData(...) API). CustomEvent instances can be treated as write-only dictionaries through collection initialization and the string indexer, meaning the code changes to migrate to the new API should be minimal.
For more information about custom events, see the documentation page: https://docs.unity.com/ugs/en-us/manual/analytics/manual/record-custom-events
Event
The Event class is a write-only container designed for you to safely and efficiently pass event data into the Analytics SDK for batching and upload to the back-end.
Each of the Standard events can be recorded using the sub-classes provided. Custom events can be recorded either by creating specific sub-classes of Event or using the more generic CustomEvent class provided.
For more information about creating and recording Custom events, see the documentation page: https://docs.unity.com/ugs/en-us/manual/analytics/manual/record-custom-events
SdkVersion
TransactionEvent
Use this class to record transaction events.
For more information about the transaction event, see the documentation page: https://docs.unity.com/ugs/en-us/manual/analytics/manual/record-transaction-events
TransactionFailedEvent
Use this class to record transactionFailed events.
For more information about the transactionFailed event, see the documentation page: https://docs.unity.com/ugs/en-us/manual/analytics/manual/record-transaction-events