Handlers Sdk Configuration

Properties

getCart()?

optional getCart: () => Promise<undefined | CommerceActivityTrackingEventMetadata>

Returns

Promise<undefined | CommerceActivityTrackingEventMetadata>


getCurrentConsent()?

optional getCurrentConsent: () => Promise<SdkPrivacyState>

Returns

Promise<SdkPrivacyState>


getCurrentProduct()?

optional getCurrentProduct: () => Promise<undefined | CommerceActivityTrackingEventProductMetadata>

Returns

Promise<undefined | CommerceActivityTrackingEventProductMetadata>


getCurrentSearchContext()?

optional getCurrentSearchContext: () => Promise<undefined | SearchActivityTrackingEventMetadata>

Returns

Promise<undefined | SearchActivityTrackingEventMetadata>


getLoggedInUser()?

optional getLoggedInUser: () => Promise<undefined | PersonIdentifiers>

Returns

Promise<undefined | PersonIdentifiers>


getViewContext()?

optional getViewContext: () => Promise<undefined | ExperienceTrackingViewContext>

Returns

Promise<undefined | ExperienceTrackingViewContext>