# Session

<table data-full-width="true"><thead><tr><th width="145">Data Point</th><th width="108">Type</th><th width="253">Description</th><th width="120">Options</th><th>Data Source</th></tr></thead><tbody><tr><td>Last Seen</td><td>Time</td><td>Last time a session was created, wallet was connected, or a tx was done</td><td></td><td>SDK/Adapter</td></tr><tr><td>First Session</td><td>Time</td><td>The first time the session was created</td><td></td><td>SDK</td></tr><tr><td>Last Session</td><td>Time</td><td>The last time the session was created</td><td></td><td>SDK</td></tr><tr><td>First Connected</td><td>Time</td><td>The first time the wallet was connected</td><td></td><td>SDK </td></tr><tr><td>Last Connected</td><td>Time</td><td>The last time the wallet was connected</td><td></td><td>SDK/Adapter</td></tr><tr><td>Last Session Duration</td><td>Time</td><td>Time of the last session</td><td></td><td>SDK</td></tr><tr><td>Avg. Session Duration</td><td>Time</td><td>Average time of the sessions</td><td></td><td>SDK</td></tr><tr><td>Last Connection Duration</td><td>Time</td><td>Time of the last connection</td><td></td><td>SDK</td></tr><tr><td>Avg. Connection Duration</td><td>Time</td><td>Average time of the connections</td><td></td><td>SDK</td></tr><tr><td>First Connected On Chain</td><td>List</td><td>The first chain that this wallet connected on this protocol</td><td>All chains supported. Example: Ethereum, Polygon, BNB</td><td>SDK/Adapter</td></tr><tr><td>Last Connected On Chain</td><td>List</td><td>The last chain that this wallet connected on this protocol</td><td>All chains supported. Example: Ethereum, Polygon, BNB</td><td>SDK/Adapter</td></tr><tr><td>First Visited Page</td><td>String</td><td>First session of the user on any page</td><td>All the URLs available</td><td>SDK</td></tr><tr><td>Last Visited Page</td><td>String</td><td>Last session of the user on any page</td><td>All the URLs available</td><td>SDK</td></tr><tr><td>Most Visited Page</td><td>String</td><td>Most sessions of the user on a specific page</td><td>All the URLs available</td><td>SDK</td></tr><tr><td>First Connected On Page</td><td>String</td><td>Page the wallet was connected on the first time</td><td>All the URLs available</td><td>SDK</td></tr><tr><td>Last Connected On Page</td><td>String</td><td>Page the wallet was connected on the last time</td><td>All the URLs available</td><td>SDK</td></tr><tr><td>Most Connected On Page</td><td>String</td><td>Page the wallet was connected on the most times</td><td>All the URLs available</td><td>SDK</td></tr><tr><td>Browser</td><td>String</td><td>Browser application of the user in the latest session</td><td>All browsers being used to access the dApp</td><td>SDK</td></tr><tr><td>Devices</td><td>List</td><td>All the devices of the user</td><td>All the devices available</td><td>SDK</td></tr><tr><td>Last Device</td><td>String</td><td>Device of the user in the latest session</td><td>All the devices available</td><td>SDK</td></tr><tr><td>OS</td><td>String</td><td>OS of the user in the latest session</td><td>All the OSes available</td><td>SDK</td></tr><tr><td>City</td><td>String</td><td>City of the user in the latest session</td><td>All the cities available</td><td>SDK</td></tr><tr><td>Region</td><td>String</td><td>Region of the user in the latest session</td><td>All the regions available</td><td>SDK</td></tr><tr><td>Country</td><td>String</td><td>Country of the user in the latest session</td><td>All the countries available</td><td>SDK</td></tr><tr><td>Referrer</td><td>String</td><td>Referrer link from which the user came</td><td>All the URLs available</td><td>SDK</td></tr><tr><td>Referring Domain</td><td>String</td><td>Referring domain from which the user came</td><td>All the URLs available</td><td>SDK</td></tr><tr><td>Initial Referrer</td><td>String</td><td>Referrer link from which the user came the first time</td><td>All the URLs available</td><td>SDK</td></tr><tr><td>Initial Referring Domain</td><td>String</td><td>Referring domain from which the user came the first time</td><td>All the URLs available</td><td>SDK</td></tr><tr><td>Screen Height</td><td>Number</td><td>Screen height of the user's device</td><td></td><td>SDK</td></tr><tr><td>Screen Width</td><td>Number</td><td>Screen width of the user's device</td><td></td><td>SDK</td></tr><tr><td>Search Engine</td><td>String</td><td>Search engine from which the user came</td><td></td><td>SDK</td></tr><tr><td>UTM Campaign</td><td>String</td><td></td><td>parameter link for campaign (product launch , case study , product update , career)</td><td>SDK</td></tr><tr><td>Last Session Duration</td><td>Time</td><td>Time of the last session</td><td></td><td>SDK</td></tr><tr><td>Avg. Session Duration</td><td>Time</td><td>Average time of the connections</td><td></td><td>SDK</td></tr><tr><td>Rejected Tx Count</td><td>Number</td><td>Count of rejected transactions</td><td></td><td>SDK</td></tr><tr><td>Connections On Chain(s)</td><td>List</td><td>All the chains that this wallet has been active on this protocol</td><td></td><td>SDK/ Adapter</td></tr><tr><td>Session Recorded Time</td><td>Number</td><td>The time when the session was recorded</td><td></td><td>SDK</td></tr></tbody></table>

## This Session

Real-time session-based metrics tracked by the SDK to display Popup Campaigns to users in your dApp based on specified criteria.

<table><thead><tr><th width="173">Data Points</th><th width="112">Type</th><th width="187">Description </th><th>Option</th><th>Data Source</th></tr></thead><tbody><tr><td>Session Time</td><td>Time</td><td>Current session time</td><td></td><td>SDK</td></tr><tr><td>Last Function</td><td>String</td><td>Last function called in the current session</td><td></td><td>SDK</td></tr><tr><td>Session Tx Count</td><td>String</td><td>Total transaction count in the current session</td><td></td><td>SDK</td></tr><tr><td>Rejected Tx Count</td><td>String</td><td>Rejected transaction count in the current session</td><td></td><td>SDK</td></tr><tr><td>Failed Tx Count</td><td>String</td><td>Failed transaction count in the current session</td><td></td><td>SDK</td></tr><tr><td>UTM Campaign</td><td>String</td><td></td><td></td><td>SDK</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://spock-analytics.gitbook.io/introduction/data-catalog/session.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
