Title: feat(demo): fire the X conversion event when a demo is booked by waleedlatif1 · Pull Request #6401 · simstudioai/sim · GitHub
Open Graph Title: feat(demo): fire the X conversion event when a demo is booked by waleedlatif1 · Pull Request #6401 · simstudioai/sim
X Title: feat(demo): fire the X conversion event when a demo is booked by waleedlatif1 · Pull Request #6401 · simstudioai/sim
Description: Summary Fire the X (Twitter) conversion event tw-q5xbl-q5xbn when a demo booking is actually confirmed, so ad delivery optimizes toward bookings rather than form submits There is no standalone demo confirmation page to drop the pixel snippet into — Cal.com renders the "you're booked" state inside its cross-origin iframe — so the event is wired to the embed's bookingSuccessfulV2 callback, unsubscribed on unmount Gated on isHosted, matching how the landing layout gates the pixel base code: a self-hosted deployment loads no pixel and subscribes no ad-tracking callback No CSP/COOP/COEP changes needed — static.ads-twitter.com (script-src) and analytics.twitter.com (connect-src, hosted-only) are already allowed, /demo is already exempt from strict COOP and runs COEP unsafe-none, and this adds no new origin Type of Change New feature Testing Type-check and lint clean. Not verified end-to-end in a browser — proving the conversion fires requires completing a real booking on the team calendar, so this should be confirmed on staging via the X Events Manager after deploy. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary Fire the X (Twitter) conversion event tw-q5xbl-q5xbn when a demo booking is actually confirmed, so ad delivery optimizes toward bookings rather than form submits There is no standalone dem...
X Description: Summary Fire the X (Twitter) conversion event tw-q5xbl-q5xbn when a demo booking is actually confirmed, so ad delivery optimizes toward bookings rather than form submits There is no standalone dem...
Opengraph URL: https://github.com/simstudioai/sim/pull/6401
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0a22c1c5-9e41-58b8-d16d-abdb9a08b1b1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C38A:34FC0A:9434B6:CAD7A7:6AFB4BC9 |
| html-safe-nonce | 0251048b717ae0226b3a36e27abef8695b90dd8397a036febf374106749ba16f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzhBOjM0RkMwQTo5NDM0QjY6Q0FEN0E3OjZBRkI0QkM5IiwidmlzaXRvcl9pZCI6IjM2OTk3NjIwMDY4MzY1OTU2NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 13f1dd61aa6d61d83a30266c162f4991f3d6eb0e82f889c0225662125050db01 |
| hovercard-subject-tag | pull_request:4232983717 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6401/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary Fire the X (Twitter) conversion event tw-q5xbl-q5xbn when a demo booking is actually confirmed, so ad delivery optimizes toward bookings rather than form submits There is no standalone dem... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26504db649b58525278f77a52b80ba5f10d5f4de |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width