0.2.20 • Published 2 months ago

@ridi/event-client v0.2.20

Weekly downloads
160
License
MIT
Repository
github
Last release
2 months 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

2 months ago

0.2.19

6 months ago

0.2.18

6 months ago

0.2.17

8 months ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago