This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
@@ -0,0 +1,13 @@
#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");
}