# Custom/Self-Hosted – How to Track HubSpot Booking Links

### Why track HubSpot booking links?

* Measure lead‑gen performance directly in Humblytics
* Attribute submissions to specific campaigns and traffic sources
* Set goals inside Funnels or A/B Experiments
* Keep tracking cookie‑free and privacy compliant

***

### Prerequisites

| Requirement                                   | Check |
| --------------------------------------------- | ----- |
| A HubSpot booking link                        | ✔︎    |
| A HubSpot calendar embed                      | ✔︎    |
| Custom site with the Humblytics tag installed | ✔︎    |

If the Humblytics script isn’t yet in your custom site, follow the custom site installation guide first.

***

### Step‑by‑Step: Track HubSpot Booking Links in Custom Sites

#### 1 · Add the HubSpot embed

1. In your site editor, add your HubSpot calendar code:

```
<!-- Start of Meetings Embed Script -->
  <div class="meetings-iframe-container" data-src="https://meetings.hubspot.com/your-unique-link">
    <iframe src="https://meetings.hubspot.com/your-unique-link" width="100%" data-hs-ignore="true"></iframe>
  </div>
  <script type="text/javascript" src="https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js"></script>
<!-- End of Meetings Embed Script --></div>
```

2. Publish your site.

#### 2 · Verify in Humblytics

1. Publish & open the live site URL.
2. Submit a booking request once.
3. In Humblytics, go to **Conversions → Forms** and look for **Hubspot Meeting Booking**. Data appears within \~30 seconds.

***

### Troubleshooting

| Issue            | Fix                                                                   |
| ---------------- | --------------------------------------------------------------------- |
| No event appears | Ensure the Humblytics script is installed on your site and republish. |

***

### Next steps

* **Funnels:** Add the form label as the final step to visualise drop‑off.
* **Experiments:** Use Humblytics A/B tests to compare form placements or CTA copy.

For advanced use cases—multi‑step HubSpot forms, hidden UTM fields, or offline events—email **<support@humblytics.com>** and we’ll guide you through.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.humblytics.com/how-to-track-custom-form-submissions/hubspot-booking-links/custom-self-hosted-how-to-track-hubspot-booking-links.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
