@rasahq/web-tracking
v2.0.0-alpha.47
Published
This package should provide
Downloads
7
Keywords
Readme
@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/
- we are using 3rd party analytics mainly
- see this URL to see current ones [https://${cdnHost}/v1/projects/${writeKey}/integrations] https://assets.rasa.com/proxies/segment/cdn/v1/projects/lnw5SGYAUHqAoQVDXqffpaPXXDe2x1ys/integrations
ways to load scripts in React - next.js makes it easy with component https://nextjs.org/docs/basic-features/script - otherwise add to the component