Jump to: navigation, search

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
  • true
  • false
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 Requests

Example

Retrieving a page

Request

GET http://198.51.100.12: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 July 11, 2014, at 19:53.
Comments or questions about this documentation? Contact us for support!