Session tracking and user profiles
The sessions report in Loogika lists individual visits. Open one, and you see every pageview and event in the order it happened.
What is a session?
A session is one visit to your site. It starts when a visitor opens the first page and ends when the visit stops.
What does a session show?
Each session lists the pages the visitor opened and the events they triggered, in order. You also see the referrer, the country, the device and browser, the entry and exit page and the duration.
What is a user profile?
A user profile gathers the sessions that belong to the same visitor. For logged-in users you can send your own user ID, and Loogika links their earlier anonymous sessions to the profile. Identification happens only when you ask for it.
When do single sessions help more than totals?
A total can show that a page loses visitors. A single session shows how it happened.
Support teams use sessions to see what a customer did before reporting a problem. Marketers use them to check that a campaign visit triggered the right events.
How do you set up user profiles in Loogika?
Sessions appear without any setup, while user profiles for logged-in users need one call. After a successful login, call window.loogika.identify() with your own user ID and, if you want, traits such as username, name and email. Call clearUserId() when the user logs out. The guide on how to identify logged-in users shows the code.
The first time a device is identified, Loogika links its anonymous events from the last 30 days to the user. Older events stay anonymous. A user ID can hold up to 255 characters, and traits up to 2 KB per call. Loogika stores the ID as you send it, so send an internal ID and not an email address.
You can read single visits from your own code through the sessions endpoints in the API. A request returns 100 sessions by default and at most 1,000 per page. The key needs the scope sessions:read, and the endpoints are closed for sites shared with Public Analytics.
Questions about sessions
Are sessions and user profiles included in every plan?
Yes. Starter, Business and Agency all include them.
Related features
Try Loogika on your own site
The free trial lasts 7 days. You add one script tag to get started.
Start your free trial