HIVE SDK for Unreal Engine

HiveAnalytics.h
Go to the documentation of this file.
1
15#pragma once
16
17#include "CoreMinimal.h"
18#include "Impl/HiveAnalyticsImpl.h"
19
20HIVESDK_API IHiveAnalyticsImpl* GetIAnalyticsInstance();
21
32class HIVESDK_API FHiveAnalytics
33{
34public:
47 static void SendAnalyticsLog(const TSharedPtr<FJsonObject>& LogData);
48
62 static void SetEnableTracker(const FString& Name, bool IsEnable);
63
75 static void SendEvent(const FString& EventName);
76
90 static void SendEventWithAttributes(const FString& EventName, const FHiveAnalyticsAttributes& Attributes);
91
104 static void SendAdRevenueEvent(const FHiveAnalyticsAdRevenue& AdRevenue);
105
150 static void SendUserEntryFunnelsLogs(const FString& FunnelTrack, const FString& Tag);
151
169 static void ShowConsentModeIfRequire(bool CheckCmp, const TOptional<FHiveConsentMode>& ConsentMode, const FHiveAnalyticsOnShowConsentModeDelegate& Delegate);
170
187 static void ShowConsentMode(const TOptional<FHiveConsentMode>& ConsentMode, const FHiveAnalyticsOnShowConsentModeDelegate& Delegate);
188};
A collection of features for tracking and analyzing apps and users (User Tracking Tool Wrapper & Col...
Definition: HiveAnalytics.h:33
static void SendAnalyticsLog(const TSharedPtr< FJsonObject > &LogData)
Send log for analysis.
static void SendEvent(const FString &EventName)
Send event for user analysis.
static void SendEventWithAttributes(const FString &EventName, const FHiveAnalyticsAttributes &Attributes)
Send event for user analysis.
static void SendAdRevenueEvent(const FHiveAnalyticsAdRevenue &AdRevenue)
Send events for ad revenue measurement.
static void SetEnableTracker(const FString &Name, bool IsEnable)
Set whether to use User Information Tracker for user analysis.
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy