Creating Analytics Space Session

Intro #

When your user wants to access their data in order to run reports or view dashboards, you will have to create an Analytics Space Session.

These sessions are short lived and scoped sessions. Simply create an Analytics Space session and forward the user to the URL in the response.

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.
					$session = $trackZero_Client->create_analytics_space_session($analytics_space_id, 1800);
// Redirect the user to the url stored in $session->url


Delete a Session #

Sessions automatically expire and get removed. No action is necessary from your side.