Forum Academy Marketplace Showcase Pricing Features

Integration with Calendly and Segment - track event not sent

Hi everyone,

I am looking for a way to integrate a Calendly (https://calendly.com/) into a Bubble application and more importantly, send a tracking event when an event is being scheduled.

I have successfully integrated the popup with Javascript or with a Bubble Workflow. I am able to add the event listeners and notify the parent window (https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview?tab=advanced#6). The event is received correctly.

When the event is received, I am trying to send a Segment tracking event but it is never fired.

analytics.track("calendly: event scheduled", {})

Does anyone has tips for a working solution?