Sending clients to your own page
You send clients to your own page after a purchase or booking by entering a Redirect URL under More settings on a widget, or by adding ?redirect= to a link to your schedule or shop. Placeholders such as {orderAmountInVat} pass purchase details on. Setting a redirect on a widget is available in the Pro and Premium plans.
Through a widget
Open your widget via My company → Integrations → Embedded widgets (or Floating widgets).
Click More settings.
Under Redirect URL, enter the address without https://. For example yoursite.com/thanks. Trainin adds https:// itself.
Click Save.
Anyone who buys or books through this widget then lands on your page.
Through a link
Add ?redirect= with the address to a link to your schedule or shop. For example: …/shop?redirect=yoursite.com/thanks. The address is kept for the whole visit. This works just like a referral link.
Passing on details
You can have details of the purchase added to the address, for example to pass the amount on to your advertising tool. Click See available placeholders under the Redirect URL field for the list.
Placeholder | What goes in it |
|---|---|
| The name of your business |
| The name of the sale, the amount including and excluding VAT, and the VAT |
| The discount code used |
| The name of the product |
| Start and end of the booked session |
| Identifiers of the sale, the product, the booking and the client |
An example: yoursite.com/thanks?amount={orderAmountInVat}&product={productName}.
Note: Not every value exists for every purchase. A free booking has no sale, so the sale details stay empty.
Read also
Putting your schedule and shop on your website with a widget
You put your schedule or shop on your website under My company → Integrations → Embedded widgets → New widget. Choose Schedule or Shop, set what it shows, then copy the Embed code into your website so visitors book and pay without leaving your site. Referral and Redirect URL are included in the Pro and Premium plans.
Tracking sales through a referral link
You track sales through a referral link by adding ?referral= plus a name to a link to your client pages, such as your shop or schedule. Orders from that visit get the referral name, which you can show and filter in the sales overview under Finances. This is available in the Pro and Premium plans.
A floating button bar (floating widget) on your website
You add a floating button bar under My company → Integrations → Floating widgets → New floating widget. Add up to 4 buttons that open one of your embedded widgets or a custom URL, then paste the Embed code in a part of your site that appears on every page, such as the footer.
