Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Contact support
Track when a subscription record is created
window._upstack('track', 'subscription_created', { // Standard parameters accountId: 'acct_abc123', subscriptionId: 'sub_def456', planId: 'plan_pro_monthly', planName: 'Pro Plan', billingInterval: 'month', // User data email: 'jane@example.com', phone: '+15551234567', firstName: 'Jane', lastName: 'Smith', // Custom data createdFrom: 'checkout', couponCode: 'LAUNCH20' });
accountId
string
acct_abc123
subscriptionId
sub_def456
planId
plan_pro_monthly
planName
Pro Plan
billingInterval
month
day
week
year
email
jane@example.com
phone
+15551234567
firstName
Jane
lastName
Smith
addresses
Array<Address>
createdFrom
checkout
couponCode
LAUNCH20
customer.subscription.created
Was this page helpful?