PayPal Insights SDK - User Data

DOCS

Last updated: Aug 15th, 6:16am

User Data

The user object represents the visitor on your site.

  • type: object
  • props:
    • country
      • type: string
      • required: true
      • example value: "US"
      • description: Two letter string sprecifying the country the shopper is located in.
    • is_store_member
      • type: boolean
      • required: true
      • example value: true
      • description: Indicates if the shopper has authenticated into the merchant’s site.

Example

    1{
    2 country: "US",
    3 is_store_member: true
    4}