0.2.20 • Published 1 year ago

@ridi/event-client v0.2.20

Weekly downloads
160
License
MIT
Repository
github
Last release
1 year ago

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

0.2.20

1 year ago

0.2.19

2 years ago

0.2.18

2 years ago

0.2.17

2 years ago

0.2.16

3 years ago

0.2.15

3 years ago

0.2.14

3 years ago

0.2.13

3 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago