# Tracking a Conversion with Meeting Form Embed

**URL:** <https://community.hubspot.com/t/tracking-a-conversion-with-meeting-form-embed/11713>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [October 2, 2018, 5:16am UTC](https://community.hubspot.com/t/tracking-a-conversion-with-meeting-form-embed/11713 "2018-10-02T05:16:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [October 2, 2018, 5:16am UTC](https://community.hubspot.com/t/tracking-a-conversion-with-meeting-form-embed/11713/1 "2018-10-02T05:16:48Z")

</div>

The code to embed the meeting widget uses an iframe so there is no way to track a conversion using JavaScript.

Has anybody done this or figured out a way to do it?

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [October 3, 2018, 1:51pm UTC](https://community.hubspot.com/t/tracking-a-conversion-with-meeting-form-embed/11713/2 "2018-10-03T13:51:46Z")

</div>

Hi [@ryantbrown](https://community.hubspot.com/u/ryantbrown),

I’ve approached this use case from multiple angles, but have yet to identify a solution. It is an oft-requested feature, though. I believe custom conversion tracking was the intention of [this feature request](https://community.hubspot.com/t5/HubSpot-Ideas/Allow-for-conversion-tracking-with-Meetings-in-HubSpot/idi-p/8269), but was not fully delivered by the product team.

I recommend posting another idea on the [HubSpot Community Ideas Forum](https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas) clarifying the use case. Please feel free to share the post with me so that I can upvote it as well.

---

<div class="post-metadata">

**Author:** ![VirginiaBee](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/virginiabee/32/5132_2.png) [@VirginiaBee](https://community.hubspot.com/u/VirginiaBee)\
**Post date:** [March 27, 2019, 12:08am UTC](https://community.hubspot.com/t/tracking-a-conversion-with-meeting-form-embed/11713/3 "2019-03-27T00:08:10Z")

</div>

The ability to embed a meeting calendar in a lead form without two buttons to complete the action would be extremely useful. That way marketing could track the lead and sales would have the appointment auto scheduled.

---

<div class="post-metadata">

**Author:** ![jonpass](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jonpass/32/48165_2.png) [@jonpass](https://community.hubspot.com/u/jonpass)\
**Post date:** [June 2, 2020, 5:09am UTC](https://community.hubspot.com/t/tracking-a-conversion-with-meeting-form-embed/11713/4 "2020-06-02T05:09:59Z")

</div>

In case anyone finds this in 2020, there is a way to do this:

```auto
window.addEventListener('message', msg => {
 if (msg.data.meetingBookSucceeded) // do something
}, false);

```

---

<div class="post-metadata">

**Author:** ![amg1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/amg1/32/51304_2.png) [@amg1](https://community.hubspot.com/u/amg1)\
**Post date:** [February 26, 2021, 9:49am UTC](https://community.hubspot.com/t/tracking-a-conversion-with-meeting-form-embed/11713/5 "2021-02-26T09:49:59Z")

</div>

Amazing 🙏 this worked perfectly!

---

<div class="post-metadata">

**Author:** ![PCMO](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pcmo/32/82448_2.png) [@PCMO](https://community.hubspot.com/u/PCMO)\
**Post date:** [April 13, 2021, 2:34pm UTC](https://community.hubspot.com/t/tracking-a-conversion-with-meeting-form-embed/11713/6 "2021-04-13T14:34:31Z")

</div>

Where did you put this code in the iframe?

---

<div class="post-metadata">

**Author:** ![msameerh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/msameerh/32/3586_2.png) [@msameerh](https://community.hubspot.com/u/msameerh)\
**Post date:** [December 21, 2022, 7:50pm UTC](https://community.hubspot.com/t/tracking-a-conversion-with-meeting-form-embed/11713/7 "2022-12-21T19:50:13Z")

</div>

Hi @jonpass , if you are around in 2022, can you elaborate on this. I am facing a similar issue

---

<div class="post-metadata">

**Author:** ![FTheimer](https://avatars.discourse-cdn.com/v4/letter/f/3be4f8/32.png) [@FTheimer](https://community.hubspot.com/u/FTheimer)\
**Post date:** [August 9, 2025, 9:08am UTC](https://community.hubspot.com/t/tracking-a-conversion-with-meeting-form-embed/11713/8 "2025-08-09T09:08:35Z")

</div>

2025 here, still working—thanks for this! How did you even discover this!?
