![]() |
Google Analytics Measurement Protocol
1.1.1
Google Analytics plugin for Unreal Engine, using a native cross-platform implementation of the Measurement Protocol.
|
Information for an economic transaction, consisting of the purchase of one or more items. More...
#include <GAMPPurchaseInfo.h>
Public Member Functions | |
FGoogleAnalyticsMPPurchaseInfo () | |
Default constructor. More... | |
FGoogleAnalyticsMPPurchaseInfo (const TArray< FGoogleAnalyticsMPPurchaseItemInfo > &InItems, const FString &InCurrency, const TMap< FString, FString > &InAttributes) | |
Construct a transaction with an undefined Transaction ID (an proper unique value will be logged for it). More... | |
FGoogleAnalyticsMPPurchaseInfo (const FString &InTransactionId, const TArray< FGoogleAnalyticsMPPurchaseItemInfo > &InItems, const FString &InCurrency, const TMap< FString, FString > &InAttributes) | |
Construct a transaction with a known Transaction ID. More... | |
Public Attributes | |
TMap< FString, FString > | Attributes |
Optional auxiliary Google Analytics Measurement Protocol attributes sent with the corresponding "transaction" hit. More... | |
FString | Currency |
Currency used in the transaction (3-letter ISO 4217 alphabetic code format). More... | |
TArray< FGoogleAnalyticsMPPurchaseItemInfo > | Items |
The purchased items. More... | |
FString | TransactionId |
Unique Transaction ID (if empty, a new UUID will be generated automatically). More... | |
Information for an economic transaction, consisting of the purchase of one or more items.
|
inline |
Default constructor.
|
inline |
Construct a transaction with an undefined Transaction ID (an proper unique value will be logged for it).
InItems | Purchased items in the transaction. |
InCurrency | The currency used in the transaction (3-letter ISO 4217 alphabetic code format) |
InAttributes | Optional auxiliary Google Analytics Measurement Protocol attributes sent with the corresponding "transaction" hit (see https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters). |
|
inline |
Construct a transaction with a known Transaction ID.
If you don't have a known Transaction ID, use the constructor with no Transaction ID parameter.
InTransactionId | Unique Transaction ID as reported by the used transaction system. See https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#ti. |
InItems | Purchased items in the transaction. |
InCurrency | The currency used in the transaction (3-letter ISO 4217 alphabetic code format) |
InAttributes | Optional auxiliary Google Analytics Measurement Protocol attributes sent with the corresponding "transaction" hit. See https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters. |
TMap<FString, FString> FGoogleAnalyticsMPPurchaseInfo::Attributes |
Optional auxiliary Google Analytics Measurement Protocol attributes sent with the corresponding "transaction" hit.
See https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters.
FString FGoogleAnalyticsMPPurchaseInfo::Currency |
Currency used in the transaction (3-letter ISO 4217 alphabetic code format).
TArray<FGoogleAnalyticsMPPurchaseItemInfo> FGoogleAnalyticsMPPurchaseInfo::Items |
The purchased items.
FString FGoogleAnalyticsMPPurchaseInfo::TransactionId |
Unique Transaction ID (if empty, a new UUID will be generated automatically).