Google Analytics Measurement Protocol  1.0.0
Google Analytics plugin for Unreal Engine, using a native cross-platform implementation of the Measurement Protocol.
Public Member Functions | Public Attributes | List of all members
FGoogleAnalyticsMPPurchaseItemInfo Struct Reference

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...
 

Public Attributes

TMap< FString, FString > Attributes
 Optional auxiliary Google Analytics Measurement Protocol attributes sent with the corresponding "item" hit (see https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters). More...
 
FString ItemId
 Item ID/name (required, can't be empty) More...
 
float ItemPrice
 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...
 

Detailed Description

Information for a purchased item.

Constructor & Destructor Documentation

◆ FGoogleAnalyticsMPPurchaseItemInfo() [1/2]

FGoogleAnalyticsMPPurchaseItemInfo::FGoogleAnalyticsMPPurchaseItemInfo ( )
inline

Default constructor.

◆ FGoogleAnalyticsMPPurchaseItemInfo() [2/2]

FGoogleAnalyticsMPPurchaseItemInfo::FGoogleAnalyticsMPPurchaseItemInfo ( const FString &  InItemId,
float  InItemPrice,
int32  InItemQuantity,
const TMap< FString, FString > &  InAttributes 
)
inline

Construct a purchased item.

Parameters
InItemIdItem ID/name (required, can't be empty)
InItemPriceItem price (the real-value monetary price of the single item, in units of the currency specified by the owning FGoogleAnalyticsMPPurchaseInfo)
InItemQuantityThe number of items purchased.
InAttributesOptional auxiliary Google Analytics Measurement Protocol attributes sent with the corresponding "item" hit. See https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters.

Member Data Documentation

◆ Attributes

TMap<FString, FString> FGoogleAnalyticsMPPurchaseItemInfo::Attributes

Optional auxiliary Google Analytics Measurement Protocol attributes sent with the corresponding "item" hit (see https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters).

◆ ItemId

FString FGoogleAnalyticsMPPurchaseItemInfo::ItemId

Item ID/name (required, can't be empty)

◆ ItemPrice

float FGoogleAnalyticsMPPurchaseItemInfo::ItemPrice

Item price (the real-value monetary price of the single item, in units of the currency specified by the owning FGoogleAnalyticsMPPurchaseInfo)

◆ ItemQuantity

int32 FGoogleAnalyticsMPPurchaseItemInfo::ItemQuantity

The number of items purchased.


The documentation for this struct was generated from the following file: