← Back to Developers

Event Reference

The tracking script sends page views and store events (view_item, view_cart, add_to_cart) for you. You send conversions such as purchase, lead, sign_up, subscribe and schedule, plus any custom event name. In your connected ad platforms, a purchase becomes Meta Purchase, GA4 purchase and TikTok CompletePayment. A lead becomes Meta Lead, GA4 generate_lead and TikTok SubmitForm. A browser conversion is sent to them only after a verified source, such as a Stripe or Shopify payment, confirms it.

Full reference with parameters and examples: app.sourcetrack.ai/developers/events

window.sourcetrack.conversion({ type: 'purchase', order_id: 'ORD-98765', value: 149.00, currency: 'USD' });
  • Google Ads
  • Meta
  • LinkedIn
  • Microsoft Ads
  • TikTok
  • Stripe
  • Shopify
  • HubSpot
  • GA4
  • Search Console
  • WooCommerce
  • Webflow
  • WordPress
  • Typeform
  • Calendly
  • Intercom
  • Zapier
Works with