Skip to main content
VideowiseSDK.trackingPixel is an async function that sends order data to Videowise analytics after a successful checkout. Call it once per completed order, after order confirmation. It is a plain async function and does not need to be rendered inside VideowiseSDK.Provider. On the web, the equivalent is the order tracking pixel. When a stored live shopping session ID (lsId) is present, the SDK automatically attaches a mobile_app referral (vw_source_id = lsId, vw_user_identifier = uid). That order is attributed to MOBILE APP in live-show analytics, not ON SITE. referral is not a trackingPixel parameter and is not merchant-configurable. Live Shopping add-to-cart is sent to /tracking/cart/pixel with the same referral. It returns Promise<Response | null>. The resolved value is null when the SDK has no stored user identifier, when a required parameter is missing, or when the request throws.

Parameters

trackingPixel(params) takes a single object with the following properties:

orderItems element (OrderItem)

variant object finalLinePrice object

Example