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

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');