Repository navigation
feat(startups): send Meta InitiateCheckout and Subscribe from the checkout - #7306
Merged
Merged
Conversation
…ckout The Startups landing page now fires Lead on the click into the checkout, so the rest of the funnel needs its own events on the same pixel: InitiateCheckout when Paddle opens (plan list price in USD) and Subscribe on a completed checkout (Paddle total minus tax, in the checkout currency), with the transaction id as the eventID so a later Conversions API event can be deduplicated. trackEvent takes the params for this. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FodmVu1MjgKhW4EZtmBozt
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Ido · project thread
Changes
Leadon the click into the checkout (dailydotdev/recruiter-landing#673). This PR sends the next funnel steps to the same pixel (519268979315924) from/squads/for-startups:InitiateCheckoutwhen the Paddle checkout first opens, valued at the plan's US list price (49 / 199 USD).Subscribewhen the checkout completes, valued at Paddle's total minus tax in the checkout currency. The Paddle transaction id is sent aseventID, so a later Conversions API event from the webhook can be deduplicated against it.content_name: startupsandcontent_category: <plan>.PixelsContext.trackEvent(unused until now) takes optional Meta params and an event id.Events
{ content_name: 'startups', content_category, value, currency: 'USD' }{ content_name: 'startups', content_category, value, currency }, eventID = transaction idNo in-house log events change.
Experiment
None.
Manual Testing
tscis clean, and oxlint and oxfmt pass.Generated by Claude Code
Preview domain
https://feat-startups-meta-checkout-even.preview.app.daily.dev