@rasahq/web-tracking

2.0.0-alpha.47 • Public • Published

@rasahq/web-tracking

This package should provide

  • a headless UI hook or set of hooks for consent management functionality
    • with configuration including a means to control arbitrary script insertion
  • a bundled version of the UI, ideally using Preact, which can be loaded in non-react contexts

export const cdnHost = 'assets.rasa.com/proxies/segment/cdn'; export const apiHost = 'assets.rasa.com/proxies/segment/api';

types of cookies

https://www.cookieyes.com/cookie-consent-exemption-for-strictly-necessary-cookies/

ways to load scripts in React - next.js makes it easy with <Script /> component https://nextjs.org/docs/basic-features/script - otherwise add to the

Readme

Keywords

none

Package Sidebar

Install

npm i @rasahq/web-tracking

Weekly Downloads

0

Version

2.0.0-alpha.47

License

MIT

Unpacked Size

40.9 kB

Total Files

15

Last publish

Collaborators

  • outfield-unship-thematic-adds
  • anthonydeguzman
  • maggo
  • rasa-jmac
  • m-vdb
  • tbocklisch