@ridi/event-client
    TypeScript icon, indicating that this package has built-in type declarations

    0.2.14 • Public • Published

    ridi-event-client

    npm

    Getting Started

    <!DOCTYPE html>
    <html lang="en">
    <head>
      <meta charset="UTF-8">
      <title>Title</title>
    </head>
    <body>
    <script src="./dist/umd/bundle.min.js"></script>
    <script>
      var eventClient = new client({
        deviceType: 'pc',
        uId: 123456,
        debug: true,
        autoPageView: true,
        trackingId: "GTM-ID",
      });
    
      eventClient.setUId(12345678);
    
    
      eventClient.sendAddPaymentInfo('payment_type', {
        value: 1,
        currency: 'KRW',
        items: [
          {item_id: 'item_id', item_name: 'abcd', item_category: 123456, service_type: 'ridibooks'}
        ]
      });
    </script>
    
    </body>
    </html>

    Test

    $ npm run test

    Publish

    $ npm login
    $ npm run deploy
    $ # or
    $ npm run build && npm publish --access public

    LICENSE

    MIT

    Keywords

    none

    Install

    npm i @ridi/event-client

    DownloadsWeekly Downloads

    625

    Version

    0.2.14

    License

    MIT

    Unpacked Size

    293 kB

    Total Files

    32

    Last publish

    Collaborators

    • mando212
    • khinenw
    • davin.ahn
    • ridicorp
    • m0ai
    • limeburst
    • minq
    • ridi-junhee
    • hw.choi