The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
simplify plausible tracking
Steven Tey498f145a7e36
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/page-client.tsxindex d5bead1ce5..b72bffce00 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/page-client.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/page-client.tsx@@ -79,22 +79,7 @@ export default function WorkspaceBillingClient() {trackEvent(`Upgraded to ${currentPlan.name}`, {_value: currentPlan.price[period] * 100, // in cents});- plausible("Upgraded Plan", {- props: {- plan: currentPlan.name,- period,- },- revenue: {- currency: "USD",- amount: currentPlan.price[period],- },- });- plausible(`Upgraded to ${currentPlan.name}`, {- revenue: {- currency: "USD",- amount: currentPlan.price[period],- },- });+ plausible(`Upgraded to ${currentPlan.name}`);posthog.capture("plan_upgraded", {plan: currentPlan.name,period,