> ## Documentation Index
> Fetch the complete documentation index at: https://help.lunacal.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Track UTM Parameters on Booking Pages

> Learn how to capture UTM parameters like utm_source through booking forms on Lunacal.ai. This allows you to track where your bookings are coming from (e.g., LinkedIn, Twitter, etc.).

<iframe width="560" height="315" src="https://www.youtube.com/embed/3IJ3qNHyr6A?si=VmUubbtJR8cRjlva" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />

## **Step 1 – Open the Event Type**

Start by logging in to your Lunacal dashboard.\
Navigate to the **Event Types** section and choose the event type where you want to track UTM parameters. Click the settings icon (⚙️) or open the event type directly.

<img src="https://mintcdn.com/lunacalai/1VzCvxTsH_HZ0Hyn/images/Integrations/2.webp?fit=max&auto=format&n=1VzCvxTsH_HZ0Hyn&q=85&s=808df8270bf4527e2bb35ae502367f4d" alt="2 Web" width="2834" height="1504" data-path="images/Integrations/2.webp" />

## **Step 2 – Go to Booking Questions**

Once inside the event setup, look at the left-hand sidebar.

Click on **Booking questions** to view and manage the questions that appear on the booking form. These questions help you collect custom data manually or through URL params when someone books your event.

<img src="https://mintcdn.com/lunacalai/1VzCvxTsH_HZ0Hyn/images/Screenshot2025-07-02132724.png?fit=max&auto=format&n=1VzCvxTsH_HZ0Hyn&q=85&s=8071fa3eee2ded568f3132e2f1a81302" alt="Screenshot2025 07 02132724 Pn" width="1893" height="892" data-path="images/Screenshot2025-07-02132724.png" />

## **Step 3 – Add a New Booking Question**

Click on the **Add / Edit booking question** button.

In the popup form:

* **Question:**\
  Enter a user-friendly label like: `UTM Source`

  > This is the label that would normally be shown on the booking form (but we’ll hide it later).
* **Question Type:**\
  Choose `Short Text` from the dropdown. This allows UTM values (like `linkedin`, `newsletter`, `twitter`) to be entered or passed via URL.
* **Mandatory:**\
  Leave this **disabled**, since we’ll be populating it via URL and not asking users to fill it out.
* **Internal Label:**\
  Enter: `utm_source`

  > This label is important — it gets used in the booking URL as the query param key. Always advised to start it with `utm_` to maintain clarity and consistency in your tracking.
* **Answer Suggestion:**\
  (Optional) Add common values you expect like: `linkedin`, `instagram`, `email`.

Click the **Add** button to save the booking question.

<img src="https://mintcdn.com/lunacalai/1VzCvxTsH_HZ0Hyn/images/Screenshot2025-07-02132857.png?fit=max&auto=format&n=1VzCvxTsH_HZ0Hyn&q=85&s=82277bac8dd98cc6cce7317676259b02" alt="Screenshot2025 07 02132857 Pn" width="968" height="740" data-path="images/Screenshot2025-07-02132857.png" />

## **Step 4 – Hide the Question**

Once the UTM Source question has been added, toggle the switch to **Hide** the field.\
This ensures it doesn’t appear on the public booking form, but it will still be processed if passed through a URL query parameter.

> Hidden questions can still capture values passed via URL, making this ideal for tracking marketing sources without disrupting the booking flow.

<img src="https://mintcdn.com/lunacalai/1VzCvxTsH_HZ0Hyn/images/Screenshot2025-07-02133025.png?fit=max&auto=format&n=1VzCvxTsH_HZ0Hyn&q=85&s=fee95f8f6594b7aea8c7398b2d653fb4" alt="Screenshot2025 07 02133025 Pn" width="1138" height="133" data-path="images/Screenshot2025-07-02133025.png" />

***

## **Step 5 – Generate Your Booking URL with UTM Parameters**

Next, go to your **View Booking Page** for the event.

To pass UTM data, simply append it to the end of your booking URL as query parameters.

For example:

`https://lunacal.ai/{username}/{event-name}?utm_source=linkedin`

> ✅ Make sure the keys in the URL match the **internal labels** you’ve set in your booking questions (e.g. `utm_source`, `utm_campaign`, etc.).

## **Step 6 – Book and Verify**

Book a meeting using the updated booking link with UTM parameters.

After a successful booking:

* As the **event admin**, you can view the UTM value (e.g., `linkedin`) under the booking details in your Lunacal dashboard.
* Additionally, if booking notifications are enabled, the UTM values will appear in your confirmation email.
* These utm related fields can also be accessed via webhooks in **"responses"** key which contains responses for all booking questions.

  <img src="https://mintcdn.com/lunacalai/1VzCvxTsH_HZ0Hyn/images/Screenshot2025-07-02133517.png?fit=max&auto=format&n=1VzCvxTsH_HZ0Hyn&q=85&s=cb954d3469a4ee14a037f93e1bf47924" alt="Screenshot2025 07 02133517 Pn" width="1497" height="695" data-path="images/Screenshot2025-07-02133517.png" />

  <img src="https://mintcdn.com/lunacalai/1VzCvxTsH_HZ0Hyn/images/Screenshot2025-07-02133656.png?fit=max&auto=format&n=1VzCvxTsH_HZ0Hyn&q=85&s=d9363ff62c2df4514c924934a6ea6e84" alt="Screenshot2025 07 02133656 Pn" width="1488" height="723" data-path="images/Screenshot2025-07-02133656.png" />

***

## ✅ Summary

By following this guide, you can:

* Track the source of your bookings (e.g., LinkedIn, newsletter, website).
* Capture UTM data without showing fields to users.
* Use it to evaluate marketing channels and attribution.

You can extend this setup to include `utm_medium`, `utm_campaign`, or custom fields in same way!
