io.justtrack.justtrack-unity-sdk
v4.6.1
Published
justtrack is AppLike Group's next level attribution & UA automation platform - built by app publishers for app publishers.
Downloads
298
Readme
justtrack SDK for Unity
You can find the complete documentation at https://docs.justtrack.io/sdk/latest/unity/.
Installation
The justtrack SDK is available as a Unity package.
You have to add https://registry.npmjs.org as the scoped registry to add it to your game.
Navigate to Window
→ Package Manager
, then select Advanced Project Settings
from the gear menu.
Now add the justtrack Package Registry to your game:
After adding the scoped registry, you need to add the justtrack SDK to your project.
Select Packages: My Registries
in the drop-down menu, select the justtrack SDK
and install it into your game.
Use the latest available version if possible.
You can also add the scoped registry and package directly to your Packages/manifest.json
.
Afterwards, your manifest.json
should look like this:
{
"dependencies": {
// ... other dependencies of your game ...
"io.justtrack.justtrack-unity-sdk": "4.6.1"
},
"scopedRegistries": [
// ... other scoped registries ...
{
"name": "justtrack Package Registry",
"url": "https://registry.npmjs.org",
"scopes": [
"io.justtrack"
]
}
]
}
Dependencies
The justtrack SDK uses the External Dependency Manager for Unity from Google to download the justtrack SDK as well as its dependencies. You can select the correct version for you on https://developers.google.com/unity/archive#external_dependency_manager_for_unity or directly download https://github.com/googlesamples/unity-jar-resolver/raw/v1.2.175/external-dependency-manager-1.2.175.unitypackage to get the latest version. The justtrack SDK requires at least version 1.2.167.
Adding the prefab
After finishing the installation of the justtrack SDK and its dependencies you should see a new menu called justtrack
.
Navigate to the first scene of your game and then select Create SDK instance
from the justtrack
menu.
Select the instance of the prefab and add your API tokens for Android and iOS as applicable. An API token looks like this:
f067440a10b63a5f49d5d9cfa1f98770bd6a329abad730bc2533789b85a124a7
Find your API token
Follow the instructions at https://docs.justtrack.io/sdk/latest/overview/find-your-justtrack-token to get the API token for your game.