Skip to main content
Version: SDK 6.0.x

Set up the SDK

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 WindowPackage 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": "6.0.0"
},
"scopedRegistries": [
// ... other scoped registries ...
{
"name": "justtrack Package Registry",
"url": "https://registry.npmjs.org",
"scopes": [
"io.justtrack"
]
}
]
}

Install the 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 an appropriate version from this list.

Minimum version

The justtrack SDK requires at least version 1.2.183.

Add the prefab

After finishing the installation of the justtrack SDK and its dependencies you should see a new justtrack menu. Navigate to the first scene of your game, and select Create SDK instance from the justtrack menu.

Select the instance of the prefab, and set your API Token for Android and iOS as applicable.