Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

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)

ParameterTypeDescription
pageobjectDescription of the page
page.idstringID of the page
page.apiNamestringAPI name of the page