- Open "unity_project_name/Packages/manifest.json"
- Under "dependencies" add:
"com.ks.windows.googleanalytics": "https://github.com/kamyker/google-analytics-unity-windows.git",
- Added LogPageView(string location, (optional)string title), use this instead of LogScreen as it is much better integrated in GA, works in realtime and in user explorer.
Ex: GoogleAnalyticsV4.instance.LogPageView("MainMenu/Settings")
- Serialized fields like productName, version removed and pulled from Player Settings
- Game end sends EndSession event (OnDestroy in GAv4 prefab)
- Launch event sends StartSession
- Updated WWW to UnityWebRequest
Copyright (c) 2014 Google Inc. All rights reserved.
The Google Analytics Plugin for Unity allows game developers to easily implement Google Analytics in their Unity games on all platforms, without having to write separate implementations. Note that this is a beta and as such may contains bugs or other issues. Please report them through the Github issue tracker or submit a pull request. The plugin comes with no guarantees.
Unity is a trademark of Unity Technologies. This project is not in any way endorsed or supervised by Unity Technologies.
Visit Google Analytics Developers for the latest documentation on the Google Analytics Plugin for Unity.
- Dev Guide - Learn how to setup, configure and get started with the Google Analytics Plugin for Unity.
- API Reference - Describes how to send data and lists all of the methods for the Google Analytics Plugin for Unity.
- Troubleshooting - Tips on debugging and troubleshooting problems with the Google Analytics Plugin for Unity.
- Knoxx- for fixing a typo in the Campaign tracking permissions
- mataneine for filtering out meta files during iOS build post processing
- g8minhquan for identifying the sqlite3.dylib library needs to be added if using the -ObjC linker flag
- coquifrogs for updating the HTTP status code logic