Create Session #
You can easily create the analytics space session. The result from the server will contain one attribute that we are interested in which is the Url. Once you have the Url, send the user to that Url provided by TrackZero and they can start using the platform.
// In order for your customer to run analytics on the data, we need to create a session key then redirect them to the TrackZero Spaces portal. // We will need to specify the custoemr space id and the duration of the session. In this case the duration is 30 minutes. // the session duration cannot be less than 5 minutes or longer than 60 minutes. let session = await instance.createAnalyticsSpacePortalSessionAsync( analyticsSpaceId, 3600 ); // redirect the user to the url stored in session.OperationData.Url