How to integrate Cal.com bookings with Facebook Pixel via Conversions API? #22789
Replies: 1 comment
-
Hi @0-danielviktorovich-0! I'm Dosu and I’m helping the cal.com team. To integrate Cal.com bookings with Facebook Pixel via the Conversions API using n8n or Zapier, here’s how you can approach it: Event Data Structure:
Example mapping for a Schedule event: {
"event_name": "Schedule",
"event_time": 1722270600,
"event_id": "bFJeNb2uX8ANpT3JL5EfXw",
"user_data": {
"em": "<SHA256(email)>",
"ph": "<SHA256(phone)>"
},
"custom_data": {
"title": "60min between Pro Example and John Doe",
"location": "Calcom HQ"
}
} For CancelSubscription and Reschedule, use the same structure but change Best Practices: User Data Hashing: Workflow Outline:
There are no official templates, but Cal.com’s webhook payloads are detailed and flexible for this use case. For more on Facebook’s requirements, see Facebook Conversions API docs. If you need step-by-step n8n/Zapier setup or hashing examples, let me know! To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m trying to integrate Cal.com with the Facebook Pixel using the Conversions API, so I can properly track events like:
• Schedule – when a user books a meeting
• CancelSubscription – when they cancel
• Reschedule – when they change the time
I’m currently using Cal.com’s webhook system, and I plan to route the data through n8n or Zapier, then forward it to Facebook.
My questions are:
1. What’s the best way to structure the event data for each case?
2. Are there any best practices when sending rescheduling or cancellation events to the Pixel?
3. Do I need to hash user data (email/phone) manually, or will tools like n8n handle that automatically?
4. Should I send Schedule again for rescheduling, or create a separate custom event like Reschedule?
If anyone has already set up this kind of workflow, I’d appreciate some guidance or a template/example.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions