Auto-forwarding Query Parameters
Cal.com’s embedding solution provides a powerful feature that allows you to automatically forward query parameters from your webpage to the embedded booking page.How It Works
When you embed Cal.com on your webpage, any query parameters present in the URL of your page will automatically be forwarded to the embedded Cal.com booking page. By default, this feature is disabled and can be enabled by adding the following code right after the code you get from Embed Snippet Generator.Example
Let’s say you have Cal.com embedded on your page with this URL:name
and email
) will automatically be forwarded to the Cal.com embed, pre-filling the corresponding fields in the booking form.
Use Cases
- Pre-filling User Information: If your users are already logged into your application, you can automatically pass their information to the booking form.
- Tracking Sources: Add UTM parameters or other tracking information that you want to preserve throughout the booking flow.