0.1.0 • Published 3 years ago

@ridi/ridi-event-client v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ridi-event-client

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 client = new EventClient({
    deviceType: 'pc',
    uId: 'uId',
    debug: true,
    development: true,
    tagManagerOptions: {
      trackingId: "GTM-ID"
    },
    autoPageView: true,
  });
  client.initialize();
  client.sendPurchase(...);

</script>
<script>
  </script>
</body>
</html>

Test

$ npm run test

Publish

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

LICENSE

MIT