HomeGuides
HomeGuidesLearn about the Immerse SDK installerLog In

Viewing Reports

📘

This feature requires Immerse SDK Enterprise Edition and a Platform 3.0 Developer Account

This is different to the free Immerse SDK / standard developer account. Contact [email protected] if you require access.

Understand the difference between the Free and Enterprise SDK

Report Link

During development, reports can be views on the platform, as they would appear to a user, by navigating to the Reporting foldout in the Immerse settings. Here you will find all reports that have been sent as part of your developer session. Clicking the 'Open' button next to any of these links will request a signed URL from the platform and open it in the default browser. This link will remain valid for 1 hour and can be shared to other developers/managers during this time.

Requesting Statements

Statements for the current can also be requested at runtime in the application. This can be used for tracking the progress of a user within the application for things such as post-session summary or progress tracker.
The example below shows how you can request the statements for the current session:

using System.Linq;
using ImmerseSDK.Reporting;
using UnityEngine;

public class StatementPrinter : MonoBehaviour
{
    [ContextMenu("Print Now")]
    private async void PrintNow()
    {
        // Request statements and await response
        var statements = await ReportingService.Request();
        
        // Iterate through received statements
        foreach (var statement in statements)
        {
            // Print statement info to console
            Debug.LogFormat("Object: {0}, Verb: {1}",
                statement.Object.Definition.Description.First().Value, statement.Verb.Display.First().Value);
        }
    }
}