Setting up Analytics
Although we activated the Analytics option from Unity Gaming Services in order to use Unity’s Ads system in Chapter 7 Advertising Using Unity Ads, we didn’t really dig deep into the system itself. Let’s finish the setup for that now using the following steps:
- To start, we need to install the Unity Analytics package in our project. We can do so by returning to the Unity Editor and opening the package manager, by going to Window | Package Manager.
- There is a bug with the version of Unity this book was written for, with the Analytics package not showing up by default; instead, Unity shows the legacy Analytics Library package. However, it is possible to add the new package by clicking on the + button at the top left and then selecting the Add Package by Name option. From there, type in
com.unity.services.analytics
. If all goes well, you should be able to see that the Analytics package has been installed correctly by checking the Package...