Add analytics to your Unity games and apps with the Snowplow snowplow event tracker for Unity unity.
With this tracker you can collect event data from your Unity-based applications, games or frameworks.
Assuming git, [Vagrant] vagrant-install and [VirtualBox] virtualbox-install installed:
host$ git clone https://github.com/snowplow/snowplow-unity-tracker.git
host$ cd snowplow-unity-tracker
host$ vagrant up && vagrant ssh
guest$ cd /vagrant
guest$ mb &
guest$ curl -X POST -d @/vagrant/Resources/imposter.json http://localhost:2525/imposters
The test collector to use: http://localhost:4545
Now open Mountebank in your browser (on host is fine):
Currently we have only tested developing from within MonoDevelop-Unity
. The IDE that is bundled with the Unity installer for Mac OSX. However the project should open with any C# IDE.
To work on the Tracker:
- Open the following file in your IDE of choice:
snowplow-unity-tracker/SnowplowTracker/SnowplowTracker.sln
- This solution file will open the
SnowplowTracker
,SnowplowTrackerTests
,UnityHTTP
andUnityJSON
libraries in your editor.
Please note that all Unit Tests are written with NUnit.
To open the Demo Game simply select the following file solution from Unity, snowplow-unity-tracker/DemoGame/DemoGame.sln
, you can then build and run it yourself.
Currently the Demo will only play on your desktop as the layout has not been configured for mobile platforms yet.
Tested Platforms:
- Windows
- Mac OSX
- Linux
- iOS (Opens but not playable as of yet)
Technical Docs | Setup Guide | Roadmap | Contributing |
---|---|---|---|
![i1] techdocs-image | ![i2] setup-image | ![i3] roadmap-image | ![i4] contributing-image |
[Technical Docs] techdocs | [Setup Guide] setup | Roadmap roadmap | Contributing contributing |
The Snowplow Unity Tracker is copyright 2015-2019 Snowplow Analytics Ltd.
Licensed under the [Apache License, Version 2.0] license (the "License"); you may not use this software except in compliance with the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.