The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunitySubmit a ticketLog In

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