UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnalyticsBuildType.h File Reference
#include "CoreMinimal.h"

Go to the source code of this file.

Enumerations

enum class  EAnalyticsBuildType : uint8 { Development , Test , Debug , Release }
 

Functions

ANALYTICS_API EAnalyticsBuildType GetAnalyticsBuildType ()
 
ANALYTICS_API const TCHARAnalyticsBuildTypeToString (EAnalyticsBuildType Type)
 

Enumeration Type Documentation

◆ EAnalyticsBuildType

enum class EAnalyticsBuildType : uint8
strong

Defines the different build types from an analytics perspective. Used to determine how to configure the provider.

Enumerator
Development 

Analytics go into a "slush" account that isn't meant to be representative. This is the default mode.

Test 

Test mode for playtests and other runs where the data collected will be semi-representative of actual gameplay. Should be routed to a test, or "representative data" account. Use -TESTANALYTICS command line to trigger this mode.

Debug 

Debug mode where analytics should go to the Swrve debug console. Used for feature development and QA testing, since the events are visible on the debug console immediately. Use -DEBUGANALYTICS command line to trigger this mode (overrides -TESTANALYTICS).

Release 

BuildType that should be used by the shipping game. UE_BUILD_SHIPPING builds use this mode (or can use -RELEASEANALYTICS cmdline to force it).

Function Documentation

◆ AnalyticsBuildTypeToString()

ANALYTICS_API const TCHAR * AnalyticsBuildTypeToString ( EAnalyticsBuildType  Type)

Convert an EAnalyticsBuildType to string.

◆ GetAnalyticsBuildType()

ANALYTICS_API EAnalyticsBuildType GetAnalyticsBuildType ( )

Get the analytics build type. Generally used to determine the keys to use to configure an analytics provider.