Describe pages active on the page, indexed by page ID. It also includes descriptions for URL-targeted experiments.
window.optimizelyEdge.get('state').getActivePages()
> {'123': {id: '123', name: 'Landing Page'}, ...}Parameters
None
Returns
An object mapping page ID (key) to page object (see below)
| Parameter | Type | Description |
|---|---|---|
| page | object | Description of the page |
| page.id | string | ID of the page |
| page.apiName | string | API name of the page |