Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

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 TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

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