Extra data can be passed through to your guest, by adding URL parameters to your booking page's link. Parameters prefixed with data_ will be treated as passthrough variables.

How to use it:

  1. Create a link to your CozyCal page with a data_ parameter. For example: https://cozycal.com/kollig/schedule-with-chris?data_referral=benfranklin

Use with the Javascript API

Once a guest booking has been made, passthrough variables can be accessed within the guest data for the Javascript API's scheduled event.

{
    "email": "[email protected]",
    "status": "confirmed",
    ...
    "extra_data": {
        "referral": "benfranklin"
    }
}

Read more here:

Javascript API

Adding passthrough variables to Redirect URLs

You can pass the extra_data parameter in the Redirect URL.

<aside> 💡 Note: The value of the extra_data parameter is encoded as JSON

</aside>