PayPal Insights SDK - Begin Checkout Event
DOCS
Last updated: Aug 15th, 7:35am
This event signifies that a user has begun a checkout.
1window.paypalInsight('event', 'begin_checkout', BEGIN_CHECKOUT_PAYLOAD);
BEGIN_CHECKOUT_PAYLOAD
- type:
object - required: true
- props:
- session_id:
- type: SessionId
- required: true
- amount:
- type: Amount
- required: true
- user_data:
- type: UserData
- required: true
- page_type:
- type: PageType
- required: false
- experiment:
- type: Array<Experiment>
- required: false
- session_id:
Example
1window.paypalInsight("event", "begin_checkout", {2 session_id: "session-12345",3 user_data: { country: "US", is_store_member: true }4 amount:{ currency_code: "USD", value: "11.50" },5 page_type: "checkout",6 experiment: [7 {8 exp_name: "axo-experiment",9 treatment_name: "test",10 ramp: "50%"11 }12 ]13});