This package allows you to use Smartlook Analytics in your Unity projects.
- Session recordings
- Event tracking
- Funnels
- Download the most recent package from Releases.
- Install the package in Unity: Assets -> Import Package -> Custom Package. Or just double click the package and import it into your project.
Obtain your Smartlook project's Project key in Smartlook Dashboard.
Use this key to start Smartlook:
SmartlookUnity.SetupOptionsBuilder builder = new SmartlookUnity.SetupOptionsBuilder("YOUR-SMARTLOOK-PROJECT-KEY");
SmartlookUnity.Smartlook.SetupAndStartRecording(builder.Build());
SmartlookUnity.Smartlook.TrackCustomEvent("EVENT-NAME");
You can have a look at the full API list in the Smartlook.cs, or in our Online docs.
Run following command from command line (from this folder) '"C:\Program Files\Unity\Hub\Editor\2021.2.13f1\Editor\Unity.exe" -gvh_disable -batchmode -importPackage external-dependency-manager-1.2.172.unitypackage -exportPackage Assets SmartLook.unitypackage -quit'
Right click on Smartlook folder in Project Window and select "Export Package ..." Select "Smartlook" folder and "ExternalDependencyManager" folder Click "Export"