Skip to content

Commit

Permalink
add price and product to analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwong525 committed Mar 3, 2024
1 parent f077fbc commit 081761a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions supabase/functions/get_stripe_url/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ clientRequestHandler(async (req, user) => {
distinctId: user.id,
event,
properties: {
price,
product: priceObj?.product,
$set: {
"stripe_customer_id": stripeCustomerId,
},
Expand Down

0 comments on commit 081761a

Please sign in to comment.