mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 13:17:49 +00:00
13 lines
451 B
C++
13 lines
451 B
C++
#pragma once
|
|
|
|
#include "format_string.h"
|
|
|
|
namespace GoogleAnalyticsHelper
|
|
{
|
|
#define GA_CATEGORY_NAME "PC"
|
|
|
|
void init(const std::string &accountPropertyID);
|
|
|
|
bool trackEvent(simple_logger<wchar_t> &logger, const char *category, const char *action = "custom", const char *label = "none", int value = 0);
|
|
bool trackUserTiming(simple_logger<wchar_t> &logger, const char *category, const char *variable, int milliseconds, const char *label = "none");
|
|
} |