IAnalyticsProviderET::RecordEventJson

Sends an event where each attribute value is expected to be a string-ified Json value.

Windows
MacOS
Linux

References

Module

AnalyticsET

Header

/Engine/Source/Runtime/Analytics/AnalyticsET/Public/IAnalyticsProviderET.h

Include

#include "IAnalyticsProviderET.h"

Syntax

void RecordEventJson
(
    FString EventName,
    TArray < FAnalyticsEventAttribute > && AttributesJson
)

Remarks

Sends an event where each attribute value is expected to be a string-ified Json value. Meaning, each attribute value can be an integer, float, bool, string, arbitrarily complex Json array, or arbitrarily complex Json object.

The main thing to remember is that if you pass a Json string as an attribute value, it is up to you to quote the string, as the string you pass is expected to be able to be pasted directly into a Json value. ie:

{ "EventName": "MyStringEvent", "IntAttr": 42 < You simply pass this in as "42" "StringAttr": "SomeString" < You must pass SomeString as "\"SomeString"" }

Parameters

Parameter

Description

EventName

The name of the event.

AttributesJson

array of key/value attribute pairs where each value is a Json value (pure Json strings mustbe quoted by the caller).

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback