JavaScript API
JavaScript API
Complete reference for all JavaScript methods available in the Campaign Cart SDK.
Methods
All JavaScript methods — cart, campaign, coupon, shipping, tracking, upsell, and utility APIs.
Events
Subscribe to SDK events — cart updates, item adds/removes, checkout, and custom events.
Attribution
UTM parameter tracking, referral attribution, and campaign attribution API.
Profiles
Profile-based package mapping for dynamic pricing tiers and A/B testing.
URL Parameters
Read, write, and transfer URL query string parameters across pages.