Skip to content

Add Pendo track events for checkout and cart#4

Open
lci-novus-dev[bot] wants to merge 1 commit into
mainfrom
novus/pendo-track-events
Open

Add Pendo track events for checkout and cart#4
lci-novus-dev[bot] wants to merge 1 commit into
mainfrom
novus/pendo-track-events

Conversation

@lci-novus-dev

@lci-novus-dev lci-novus-dev Bot commented Jun 2, 2026

Copy link
Copy Markdown

Summary

  • Added checkout_completed track event in app/checkout/page.tsx — fires on form submit with email_provided and currency metadata
  • Added cart_item_added track event in app/cart/page.tsx — fires when a widget is added with item_name, item_price_usd, cart_item_count, and cart_total_usd metadata

Test plan

  • Visit /checkout, fill in email, submit form → verify checkout_completed fires in browser console / Pendo debugger
  • Visit /cart, click "Add a widget" → verify cart_item_added fires with correct item and cart state metadata
  • Confirm no visitorId/accountId in event properties

🤖 Generated with Claude Code

Instrument two client-side pendo.track() calls:
- checkout_completed: fires on form submit with email_provided and currency
- cart_item_added: fires when adding an item with item details and cart state

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant