{"id":14960492,"url":"https://github.com/aptabase/aptabase-unity","last_synced_at":"2025-10-24T18:31:52.665Z","repository":{"id":180780875,"uuid":"659635029","full_name":"aptabase/aptabase-unity","owner":"aptabase","description":"Unity SDK for Aptabase: Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps","archived":false,"fork":false,"pushed_at":"2024-03-28T18:33:12.000Z","size":73,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-28T19:39:00.684Z","etag":null,"topics":["analytics","privacy","unity","unity3d","unity3d-plugin"],"latest_commit_sha":null,"homepage":"https://aptabase.com","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/aptabase.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-28T08:39:35.000Z","updated_at":"2024-09-18T17:44:16.000Z","dependencies_parsed_at":"2023-10-15T17:01:49.950Z","dependency_job_id":"bdf292d2-fe87-4cc5-993e-81c21229ddcb","html_url":"https://github.com/aptabase/aptabase-unity","commit_stats":{"total_commits":23,"total_committers":4,"mean_commits":5.75,"dds":"0.34782608695652173","last_synced_commit":"e27d3ae985586fadd455672ed73c90cdda556bca"},"previous_names":["aptabase/aptabase-unity"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptabase%2Faptabase-unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptabase%2Faptabase-unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptabase%2Faptabase-unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptabase%2Faptabase-unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aptabase","download_url":"https://codeload.github.com/aptabase/aptabase-unity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219868126,"owners_count":16555877,"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":["analytics","privacy","unity","unity3d","unity3d-plugin"],"created_at":"2024-09-24T13:22:22.905Z","updated_at":"2025-10-24T18:31:45.340Z","avatar_url":"https://github.com/aptabase.png","language":"C#","readme":"![Aptabase](https://aptabase.com/og.png)\n\n# Unity Engine SDK for Aptabase\n\nInstrument your Unity Engine project with Aptabase, an Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps.\n\n## Install\n\nYou can install the package via [Unity Package Manager](https://docs.unity3d.com/Manual/upm-ui.html).\n\nGo to `Window` \u003e `Package Manager` \u003e `+` \u003e `Add Package from git URL` and enter https://github.com/aptabase/aptabase-unity.git\n\n## Project settings\n\nFirst, you need to get your `App Key` from Aptabase, you can find it in the `Instructions` menu on the left side menu.\n\nThen you have to set it inside the settings file located at `Aptabase/Resources/AptabaseSettings.Asset` inside your `App Key` field.\n\nBased on the key, your `Host` will be selected. In the case of self-hosted versions a new `SelfHostURL` field will appear for input.\n\nApp Version is automatically detected, but you can override it with the `AppVersion` field. You may want to provide an `AppBuildNumber` as it may vary across different platforms. This allows you to specify a platform-specific build number to ensure accurate version tracking and compatibility.\n\nEvents are batched and sent every 60 seconds in production and 2 seconds in development by default. You can override these values with the `FlushInterval` field by inputting desired time in milliseconds.\n\n## Usage\n\nThe Aptabase SDK will seamlessly run in the background as soon as your app starts up. To effortlessly log events, you can use the following code snippet. The Props parameter is optional and can be left empty if not needed.\n\n```csharp\nAptabase.TrackEvent(\"app_started\", new Dictionary\u003cstring, object\u003e\n{\n    {\"hello\", \"world\"}\n});\n```\n\nIf you want to manually flush the event queue you can use \n```csharp\nAptabase.Flush();\n```\n\nA few important notes:\n\n1. The SDK will automatically enhance the event with some useful information, like the OS, the app version, and other things.\n2. You're in control of what gets sent to Aptabase. This SDK does not automatically track any events, you need to record events manually.\n   - Because of this, it's generally recommended to at least track an event at startup\n3. You do not need to await the record event calls, they will run in the background.\n4. Only strings and numbers values are allowed on custom properties\n\n## Preparing for Submission to Apple App Store\n\nWhen submitting your app to the Apple App Store, you'll need to fill out the `App Privacy` form. You can find all the answers on our [How to fill out the Apple App Privacy when using Aptabase](https://aptabase.com/docs/apple-app-privacy) guide.\n","funding_links":[],"categories":["Open Source Repositories"],"sub_categories":["Services"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faptabase%2Faptabase-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faptabase%2Faptabase-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faptabase%2Faptabase-unity/lists"}