HIVE SDK for C++

HIVE_Analytics.h
Go to the documentation of this file.
1
16#ifndef __HIVE_ANALYTICS_H__
17#define __HIVE_ANALYTICS_H__
18
19
20#include "HIVE_ResultAPI.h"
21
22
23NS_HIVE_BEGIN
24
25
37class HIVESDK_DLLEXPORT Analytics
38{
39public:
40
49 enum class TrackingType
50 {
51 ADJUST
52 , SINGULAR
53 , APPSFLYER
54 , UNKNOWN
55 };
56
57
73 static bool sendAnalyticsLog(picojson::object & logData);
74
75
89 static void setEnableTracker(TrackingType trackingType, bool isEnable);
90
91
105 static void setEnableTrackerWithName(std::string name, bool isEnable);
106
107
108
120 static void sendEvent(std::string eventName);
121
122 static unsigned int getRemainAnalyticsLogCount();
123
124
166 static void sendUserEntryFunnelsLogs(std::string funnelTrack, std::string optionTag);
167
168 // Native 영역에서 호출된 요청을 처리하기 위한 플러그인 내부 코드
169 static void executeEngine(picojson::value jsonParam);
170};
171
172
173NS_HIVE_END // namespace hive
174
175// GCPSDK4-946
176// C-Style
177extern "C"
178{
179 //SendAnalyticsLog Input Json String
180 HIVESDK_DLLEXPORT void AnalyticsSendAnalyticsLog(const char* logDataJsonString);
181 HIVESDK_DLLEXPORT void AnalyticsSendUserEntryFunnelsLogs(const char* funnelTrack, const char* optionTag);
182
183}
184
185
186#endif // __HIVE_ANALYTICS_H__
A collection of features for tracking and analyzing apps and users (User Tracking Tool Wrapper & Cal...
Definition: HIVE_Analytics.h:38
static void sendEvent(std::string eventName)
Send event for user analysis.
static void setEnableTrackerWithName(std::string name, bool isEnable)
Set whether to use User Information Tracker for user analysis.
static bool sendAnalyticsLog(picojson::object &logData)
Send log for analysis.
TrackingType
Tracker type for user analysis.
Definition: HIVE_Analytics.h:50
static void setEnableTracker(TrackingType trackingType, bool isEnable)
Set whether to use User Information Tracker for user analysis.
@ UNKNOWN
Unknown status whether available to expose buttons or not.
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy