Skip to main content
All Collections❓FAQsManaging Orders FAQs
How to send customer data to your widget
How to send customer data to your widget

Pre-fill data and pass metadata to your widget if it's hosted on a site where you store customer data.

Rhio avatar
Written by Rhio
Updated over 3 months ago

Sometimes it's handy to send customer data to your widget checkout, for example, if you have members who are already logged in to your website booking a ticket.

Ticket Tailor lets you:

  1. Pre-fill data on the checkout when using a custom domain and a widget;

  2. Pass metadata to the widget, which is stored against an order.


How to specify and pre-fill data on your widget checkout

On the widget URL you can specify and pre-fill data using code in this format:

#p[first_name]=Ticket&p[last_name]=Tailor&p[customFormElement_233]=Navy

Any data you specify will be assigned to the checkout form.

How to pass metadata to your widget

Use code in this format to pass on your data:

https://yourcustom.domain/checkout/view-event/id/99272/chk/a809/?modal_widget=true&widget=true&preset_data=1#p[first_name]=Ticket&p[last_name]=Tailor&p[meta_fave_colour]=Blue

This will store up to 6 fields of metadata. Your metadata will be retrievable via the API or can be seen on your orders page.

A screenshot of the meta data on an order in Ticket Tailor.
Did this answer your question?