<aside> ๐Ÿ’ก What is a SPA? A single page application (SPA) is a type of web application or website that consists of a single page. Unlike a traditional web application, an SPA allows users to interact with the page after the initial load without having to reload the entire page.

</aside>


[insert script].

  1. Collect activity information for logged-in users:
  1. Acquire page movement data:

1) SNS signup/login integration.

  1. Call function on signup/login completion:

  2. Required and example:

    Key Value Description Required or not
    type String Join: join / Login: login Y
    snsCode String SNS login/signup code (see below) Y
    memberId String Member ID Y
    memberName String Member name N
    email String Subscriber email N
    phoneNumber String Subscriber phone number N
    gender String Subscriber gender (female: F / male: M) N
    smsAllowed String Whether to receive text messages(Y/N) N
    emailAllowed String Allowed to receive emails(Y/N) N

    Example:

    {
      "type": "join",
      "snsCode": "00001",
      "memberId": "gildong1234",
      "memberName": "ํ™๊ธธ๋™",
      "email": "[email protected]",
      "phoneNumber": "01012340000",
      "gender": "M",
      "smsAllowed": "Y",
      "emailAllowed": "N"
    }
    
    
  3. SNS login/signup code:

2) Integrate Easy Payments

  1. Call the function after payment completion:

  2. Required and Description:

    Key Value Description Required or not
    payCode String Easy payment code (see below) Y
    orderId String Order number Y
    products Array List of product information Y
    productId String Individual product code Y
    productName String Individual product name Y
    productPrice String Individual product price Y
    productDcPrice String Individual product discount price Y
    productQty String Individual product quantity Y
    totalPrice String Price of the entire order Y
    totalQty String Total order quantity Y
    memberId String Login ID N
  3. Example:

    {
      "payCode": "19000",
      "orderId": "20240701_12154",
      "products": [
        {
          "productId": "23",
          "productName": "์ƒํ’ˆ๋ช…์ž…๋‹ˆ๋‹ค",
          "productPrice": "288000",
          "productQty": "1",
          "productDcPrice": "258000"
        }
      ],
      "totalPrice": "288000",
      "totalQty": "1",
      "memberId": "gildong1234"
    }