Page Resource
Defines the page resource.
|
Description
Defines a page resource. The page resource is created when the customer enters a page (upon the PageEntered event). If the customer 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. |
<references />
Related Operations
- Create new event for page
- Query events by page
- Query page
- Query pages by identity
- Query pages by session
- Create new page for visit
- Query pages by visit
Example
Retrieving a page
Operation
GET http://192.168.73.246:9081/backend/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 February 15, 2013, at 16:01.
Comments or questions about this documentation? Contact us for support!
