@bavix/cozy-house-kit

1.0.5 • Public • Published

How to use?

Initialize:

window.cozyHouse.setApiUrl('{your cozy-server}')
window.cozyHouse.setToken('{your token}')

Send event

window.cozyHouse.push(
  'main', // category name
  'product buy', // event name
  'Apple iPhone 11 Pro 256GB Gold', // event label
  {
    price: 990,
    currency: 'dollar',
    itemId: 410143,
  } 
)

Package Sidebar

Install

npm i @bavix/cozy-house-kit

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

96.5 kB

Total Files

8

Last publish

Collaborators

  • rez1dent3