![]() |
Google Analytics Measurement Protocol 1.2.5
Google Analytics plugin for Unreal Engine, using a native cross-platform implementation of the Measurement Protocol.
|
Information for a purchased item. More...
#include <GAMPPurchaseInfo.h>
Public Member Functions | |
| FGoogleAnalyticsMPPurchaseItemInfo () | |
| Default constructor. More... | |
| FGoogleAnalyticsMPPurchaseItemInfo (const FString &InItemId, float InItemPrice, int32 InItemQuantity, const TMap< FString, FString > &InAttributes) | |
| Construct a purchased item. More... | |
| float | GetTotalValue () const |
| Return the total price of the purchased quantity. More... | |
Public Attributes | |
| TMap< FString, FString > | Attributes |
| Optional auxiliary Google Analytics attributes sent with the corresponding "item". More... | |
| FString | ItemId |
| Item ID/name (required, can't be empty) More... | |
| float | ItemPrice |
| Unitary item price (the real-value monetary price of the single item, in units of the currency specified by the owning FGoogleAnalyticsMPPurchaseInfo) More... | |
| int32 | ItemQuantity |
| The number of items purchased. More... | |
Information for a purchased item.
|
inline |
Default constructor.
|
inline |
Construct a purchased item.
| InItemId | Item ID/name (required, can't be empty) |
| InItemPrice | Item price (the real-value monetary price of the single item, in units of the currency specified by the owning FGoogleAnalyticsMPPurchaseInfo) |
| InItemQuantity | The number of items purchased. |
| InAttributes | Optional auxiliary Google Analytics Measurement Protocol attributes sent with the corresponding "item". See: for GA4 https://developers.google.com/analytics/devguides/collection/ga4/reference/events?client_type=gtag, for UA https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters. |
|
inline |
Return the total price of the purchased quantity.
| TMap<FString, FString> FGoogleAnalyticsMPPurchaseItemInfo::Attributes |
Optional auxiliary Google Analytics attributes sent with the corresponding "item".
| FString FGoogleAnalyticsMPPurchaseItemInfo::ItemId |
Item ID/name (required, can't be empty)
| float FGoogleAnalyticsMPPurchaseItemInfo::ItemPrice |
Unitary item price (the real-value monetary price of the single item, in units of the currency specified by the owning FGoogleAnalyticsMPPurchaseInfo)
| int32 FGoogleAnalyticsMPPurchaseItemInfo::ItemQuantity |
The number of items purchased.