The following advanced topics are covered in this section:
A session is a period devoted to a user browsing your website(s). Sessionization is the process in which all hits that were captured will be grouped to sessions. A user can have multiple sessions and each session can contain multiple pageviews or other hits. However it is also possible that a user has only a single session with a single hit.
During sessionization Capture will group the hits of a user into one or more sessions. Hits will be grouped in the same session when:
Only sessions that are closed can be sessionized. Sessionization can therefore never be realtime.
All the information is stored in the session field of the hits table.
Every hour or so the capture backend connects to your BigQuery instance and looks for the hits table (usually hits) in the capture dataset (usually osb_capture). It will first select all the unsessionized hits, sessionize them and update the session field in the hits table with the information.
Per session the following information is calculated:
(Partial) seconds between the first and the last hit (not just pageview)
which index number does the session have? In case the visitor doesn't visit the website for longer than 6 months, numbering will restart at 1 again
Index number of the pageview in the session
(Partial) seconds between the pageview and the next pageview. Is null is this is the last pageview.
Boolean to determine if the page is the last page (True) or not (False).
Contains the marketing channel information duplicated on all the hits that belong to that session. You need this to determine the marketing channel of your conversions or other goals that don't happen on the first page.
Contains the referrer categorization of the first hit, duplicated across the whole visit. You need this to determine the traffic source of your conversions or other goals that don't happen on the first page.
Contains the hit id's of the previous page, previous hit, next page and next hit.
You can send server side calls to Capture. Contact us to receive the full API reference and documentation on this subject.