Skip to main content

Selection Context

Overview#

Selection context provides additional information on the selection made by Rokt.

Properties#

pageId#

pageId : Promise<string>

Unique identifier of a configured page corresponding to the assigned ID in One Platform.

The Promise will be resolved with the value once the selection done by Rokt backend finishes and rejected if the network call fails.


pageInstanceGuid#

pageInstanceGuid : Promise<string>

Unique GUID of a page selection. Useful for debugging purposes.

The Promise will be resolved with the value once the selection done by Rokt backend finishes and rejected if the network call fails.


pageVariantName#

pageVariantName : Promise<string>

Name of the selected page variant corresponding to the value assigned in One Platform. Useful for identifying result of the selection.

The Promise will be resolved with the value once the selection done by Rokt backend finishes and rejected if the network call fails.


sessionId#

sessionId : Promise<string>

Unique GUID of a session assigned for the current user journey. Useful for debugging purposes.

The Promise will be resolved with the value once the selection done by Rokt backend finishes and rejected if the network call fails.

Was this article helpful?