Skip to main content
Enhancing Order Context with Widget Payload

You can pass specific context into widget orders right from the start. Helpful for differentiating orders origins or saving external data

Updated over 8 months ago

Businesses operating across multiple platforms can benefit significantly from identifying the source of each order. This insight aids in customizing marketing efforts and streamlining operations. Additionally, incorporating specific customer data or project identifiers directly into an order is invaluable for internal tracking and processing.

Implementing Context with Payload Passthrough

The payload_passthrough query parameter allows for the inclusion of a JSON payload within the widget's URL, like so:

https://app.digifabster.com/my3dcompany/widget/upload?payload_passthrough={"landing":"promo-ga"}

This approach ensures that relevant contextual information, such as the order's origin, is attached to the order and retained even in abandoned carts.

Accessing the Payload

The information passed through payload_passthrough is accessible on the order detail page and through DigiFabster's API. This dual access facilitates quick operational adjustments and enables automated workflows.

The utility of payload_passthrough extends to analyzing abandoned carts, offering insights into potential improvements in the ordering process or targeted follow-up strategies.

Did this answer your question?