Skip to content

Unity

These are the instructions for setting up the Hive SDK Unity marketing attribution.

Unity Inspector settings

Select Hive > Edit Config and set HiveConfig Mobile App Tracking Settings in the Inspector screen. Enter the settings values for the marketing attribution you will use. Enter the AppID, key, or token value issued from the marketing attribution dashboard you will use.

Add marketing attribution

  1. Click the Hive > ExternalDependency menu.
  2. When the settings window appears, select the feature you want to use.
  3. Select the attribution you want to use in Analytics Settings. For example, if you want to use Adjust as a third-party marketing attribution, select Adjust.

Add essential files for Firebase

When using Firebase, you need to download essential files from the Firebase Console and add them to your development project.

Android

After registering your app in the Firebase Console, download the google-services.json file here. Firebase Analytics will be initialized according to the file content. Download the file and put it in the Project/Assets path.

iOS

After registering your app in the Firebase console, download the GoogleService-Info.plist file. Firebase Analytics will be initialized based on the contents of the file. Download the file and add it to the Assets/ExternalResources/iOS path. It will be linked to the default main target (Unity-iPhone) when building an Xcode project.