![]() |
Google Analytics Measurement Protocol 1.1.2
Google Analytics plugin for Unreal Engine, using a native cross-platform implementation of the Measurement Protocol.
|
Class to manipulate the event attributes processed by the Google Analytics Measurement Protocol plugin. More...
#include <GAMPAttributesFilter.h>
Public Member Functions | |
void | FilterAttributes (const FString &EventName, TMap< FString, FString > &Attributes) |
Filter the passed Attributes, for the event named EventName. More... | |
Protected Member Functions | |
bool | FilterAttributesImpl (const FString &EventName, UPARAM(ref) TMap< FString, FString > &Attributes) |
Manipulate the set of attributes that will be sent with the corresponding logged event. More... | |
Protected Attributes | |
virtual bool | FilterAttributesImpl_Implementation (const FString &EventName, TMap< FString, FString > &Attributes) PURE_VIRTUAL(UGoogleAnalyticsMPAttributesFilter |
C++ implementation of FilterAttributesImpl() More... | |
Class to manipulate the event attributes processed by the Google Analytics Measurement Protocol plugin.
Subclasses must implement the overridable methods to manipulate the set of attributes sent with each logged event. A custom filter can be used, for example, to add Custom Dimensions and Metrics to each logged event.
You can configure the filter used by your application in the Project Settings (see UGoogleAnalyticsMPSettings::AttributesFilterClass).
void UGoogleAnalyticsMPAttributesFilter::FilterAttributes | ( | const FString & | EventName, |
TMap< FString, FString > & | Attributes | ||
) |
Filter the passed Attributes, for the event named EventName.
|
protected |
Manipulate the set of attributes that will be sent with the corresponding logged event.
Attributes can be either added and/or removed.
EventName | Event name. Some events could not have a name, so it could be empty. |
Attributes | The attributes to manipulate. |
|
protected |
C++ implementation of FilterAttributesImpl()