Sessions

The Send2CRM client stores a new Session object for each website visit.

{ "id": "a89583c0-660d-4ddf-9bb5-1da92a5ae08f", "started": "2022-10-26T22:24:00.055Z", "ended": "2022-10-27T00:05:54.107Z", "lastSeen": "2022-10-27T00:05:54.107Z", "firstPage": "https://example.com/", "lastPage": "https://example.com/about", "userAgent": { "os": "Windows 10", "browser": "Chrome 106", "device": "desktop" }, "language": "en-US", "events": [ { "href": "https://example.com/", "referrer": "", "title": "Welcome | Example Site", "type": "PAGE", "time": "2022-10-26T22:24:00.123Z" }, { "href": "https://example.com/about", "referrer": "https://example.com/", "title": "About Us | Example Site", "type": "PAGE", "time": "2022-10-26T22:29:44.361Z" }, { "type": "GOAL", "time": "2022-10-26T23:43:06.649Z", "name": "GoalName1", "value": 10 } ], "ipInfo": { "ip": "a.b.c.d", "country_code": "US", "timezone": "GMT" } }

Property

Description

Property

Description

id

Auto-generated unique identifier for the Session.

started

Date/time of first activity.

lastSeen

Date/time of last activity.

ended

Date/time the Session was closed.

firstPage

The URL of the first page visit during the Session, if any.

lastPage

The URL of the last page visit during the Session, if any.

userAgent

Details about the Visitor’s browser, extracted from the User Agent string.

language

Language code from the browser.

events

Detailed activity recorded during the Session, see Session Events.

ipInfo

Basic IP location details where available.