Page Resource
Description
The page resource is created when the visitor enters a page (upon the PageEntered event). If the visitor leaves the page, and later visits the page again, a new page resource is created. For further information about events, see Event Resource.
Resource Details
Field | Type | Mandatory | Description |
---|---|---|---|
pageID | string | yes | The unique ID of the page resource. |
url | string | yes | The page URL. |
browserPageID | string | yes | The browser page ID; another page identifier unique across the visit. |
pageExitedDate | long | no | Date at which the user left the page. 0 means that the user did not leave the page already. |
pageEnteredDate | long | no | Date at which the user entered the page. |
category | string | no | Associated category, if any. |
title | string | no | Page title. |
first |
|
no | true if this is the first page entered for the current visit. |
eventIds | string[] | no | IDs of the associated events. |
events | event[] | no | Array of the associated events. |
Related Requests
Example
Retrieving a page
Request
GET http://127.0.0.1:9081/server/data/pages/c489cac0-3fa3-11e2-aee5-00505625a04f
Response
{"eventIds":null,"events":null,"pageId":"c489cac0-3fa3-11e2-aee5-00505625a04f", "url":"http://www.genesyslab.com/%3f", "browserPageID":"AA8C3E0B8C9543D58D9CAB122A714124", "pageExitedDate":1354798339992, "pageEnteredDate":1354798338412, "category":"","title":"404 - Not found","first":false}
This page was last edited on March 10, 2020, at 13:56.
Comments or questions about this documentation? Contact us for support!