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

The "state" module provides functions for querying the current state of project entities (primarily for QA and integration purposes). You can use the State APIs as soon as the microsnippet loads (anytime after the script tag that invokes the Edge Decider).

let state = window.optimizelyEdge.get('state');