{"id":13732318,"url":"https://github.com/Pintea/tiniest-analytics","last_synced_at":"2025-05-08T06:31:56.373Z","repository":{"id":172550863,"uuid":"114018919","full_name":"Pintea/tiniest-analytics","owner":"Pintea","description":"VERY simple cross-platform C++ analytics for games (using Google Analytics)","archived":false,"fork":false,"pushed_at":"2023-11-01T14:31:03.000Z","size":20,"stargazers_count":97,"open_issues_count":2,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-04T02:11:01.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pintea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-12-12T17:23:20.000Z","updated_at":"2024-06-26T09:55:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"265947be-41bf-4401-9db3-fe46ad91eb75","html_url":"https://github.com/Pintea/tiniest-analytics","commit_stats":null,"previous_names":["pintea/tiniest-analytics"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pintea%2Ftiniest-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pintea%2Ftiniest-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pintea%2Ftiniest-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pintea%2Ftiniest-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pintea","download_url":"https://codeload.github.com/Pintea/tiniest-analytics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224708133,"owners_count":17356487,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T02:01:52.876Z","updated_at":"2024-11-14T23:32:03.161Z","avatar_url":"https://github.com/Pintea.png","language":"C++","readme":"# tiniest-analytics\n\nIMPORTANT NOTE: CURRENT CODE NO LONGER WORKS FOR GOOGLE ANALYTICS 4, BECAUSE GA4 DOESN'T ACCEPT NON-HTTPS REQUESTS.\n\nTiniest 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++ (less than 100 lines of code), made specifically for games. It uses libcurl to post events to your Google Analytics account.\n\u003cbr /\u003e\n\u003cbr /\u003e\nUsage: call TAnalytics_Init(\"UA-12345678-1\", uniqueId) at startup, call TAnalytics_Shutdown() when closing the app, and TAnalytics_Update() each frame. You also need libcurl in your project (ssl not needed).\n\u003cbr /\u003e\nThere's only one function to use when posting an event, e.g.\u003cbr /\u003e\nTAnalytics_Event(\"GameStart\", \"linux\");\u003cbr /\u003e\nTAnalytics_Event(\"WeaponClicked\", \"RocketLauncher\");\u003cbr /\u003e\nTAnalytics_Event(\"MapStarted\", \"SinglePlayer\", \"MapName.map\");\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n![alt text](https://user-images.githubusercontent.com/292486/33986723-206b0bc8-e0c7-11e7-9ac9-8f4f841385ed.jpg)\n\u003cbr /\u003e\n\u003cbr /\u003e\n![alt text](https://user-images.githubusercontent.com/292486/33986724-20895b32-e0c7-11e7-8114-b203803867e4.jpg)\n\u003cbr /\u003e\n\u003cbr /\u003e\n![alt text](https://user-images.githubusercontent.com/292486/33986722-204d395e-e0c7-11e7-8d1d-4f73cfcb577a.jpg)\n\u003cbr /\u003e\n\u003cbr /\u003e\nOriginal authors:\u003cbr /\u003e\nMihai Dragomir - dmc@pixelshard.com\u003cbr /\u003e\nMihai Gosa (Pintea) - pintea@inthekillhouse.com or @gosamihai on twitter\u003cbr /\u003e\nInitially developed for the 'Door Kickers' games.\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\nLicense: MIT\n","funding_links":[],"categories":["GameProgramming"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPintea%2Ftiniest-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPintea%2Ftiniest-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPintea%2Ftiniest-analytics/lists"}