PayPal Insights SDK - End Checkout Event

DOCS

Last updated: Aug 15th, 6:20am

This event signifies that a user has completed the checkout process and purchased one or more items.

    1window.paypalInsight('event', 'end_checkout', END_CHECKOUT_PAYLOAD);

    END_CHECKOUT_PAYLOAD

    • type: object
    • required: true
    • props:

    Example

      1window.paypalInsight("event", "end_checkout", {
      2 session_id: "session-12345",
      3 user_data: { country: "US", is_store_member: true }
      4 amount:{ currency_code: "USD", value: "11.50" },
      5 payment_method_selected: "card",
      6 page_type: "order_confirmation",
      7 experiment: [
      8 {
      9 exp_name: "axo-experiment",
      10 treatment_name: "test",
      11 ramp: "50%"
      12 }
      13 ]
      14});