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
Client SDK for Unity Analytics. https://cloud.unity.com/analytics
The Unity Analytics package enables you to track in-game actions so you can gather user insights, segment your player base and make informed decisions around the optimization of your game.
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
The version of the Analytics SDK.
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
TransactionItem
Represents an in-game item used in a transaction.
TransactionRealCurrency
Represents a currency and the amount of it used in a transaction.
TransactionVirtualCurrency
Represents a virtual currency and the amount of it used in a transaction.
Interfaces
IAnalyticsService
Client SDK for Unity Analytics. https://cloud.unity.com/analytics
The Unity Analytics package enables you to track in-game actions so you can gather user insights, segment your player base and make informed decisions around the optimization of your game.
Enums
AdCompletionStatus
Whether the ad was watched completely, partially or not at all.
AdPlacementType
Indicates what type of ad is shown.
AdProvider
The ad network that served the ad - e.g. UNITY, IRONSOURCE.
TransactionServer
The server to use for receipt verification, if applicable.
TransactionType
The type of the transaction.
VirtualCurrencyType
The type of the virtual currency.