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?
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?
Hi @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, but was not fully delivered by the product team.
I recommend posting another idea on the HubSpot Community Ideas Forum clarifying the use case. Please feel free to share the post with me so that I can upvote it as well.
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.
In case anyone finds this in 2020, there is a way to do this:
window.addEventListener('message', msg => {
if (msg.data.meetingBookSucceeded) // do something
}, false);
Amazing
this worked perfectly!
Where did you put this code in the iframe?
Hi @jonpass , if you are around in 2022, can you elaborate on this. I am facing a similar issue
2025 here, still working—thanks for this! How did you even discover this!?