thedmd / tiniest-analytics

VERY simple cross-platform C++ analytics for games (using Google Analytics)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tiniest-analytics

Tiniest Analytics is a very simple to use, cross-platform (tested on win/osx/linux/ios/android) and basically very tiny analytics system written in C++ (about 100 lines of code), made specifically for games. It uses libcurl to post events to your Google Analytics account.

Usage: include TAnalytics.h, call Init("UA-12345678-1", uniqueId) before using and Shutdown() when closing your app, and Update() each frame. You also need libcurl in your project (no ssl needed).
There's only one function to use when posting an event, e.g.
TAnalytics::Event("GameStart", "linux");
TAnalytics::Event("WeaponClicked", "RocketLauncher");
TAnalytics::Event("MapStarted", "SinglePlayer", "MapName.map");


alt text

alt text

alt text

Original authors:
Mihai Dragomir - dmc@pixelshard.com
Mihai Gosa - pintea@inthekillhouse.com or @gosamihai on twitter
Initially developed for the 'Door Kickers' games.


License: MIT

About

VERY simple cross-platform C++ analytics for games (using Google Analytics)

License:MIT License


Languages

Language:C++ 100.0%