analytics
analytics copied to clipboard
Lightweight analytics abstraction layer for tracking page views, custom events, & identifying visitors
Looking at the docs I don't know what to expect as the parameters to initialize, page, track, and so on. I do see it's an object with fields like payload,...
Based on the code, the default is `gtag`. I'm not sure whether the docs or code should be changed (maybe it should be `ga4gtag` by default?).
Should be an array according to the code & examples
Yarn is complaining about this: @analytics/core@npm:0.11.1 doesn't provide @types/dlv (p2665d), requested by analytics-utils
Currently imports work with a single simple import statement, e.g. ```js import googleAnalytics from '@analytics/google-analytics' ``` This is great for dev ergonomics but causes issues with typescript because the serverside...
When I use the latest ga4 plugin `@analytics/google-analytics` no matter what I do, it's always in debug mode in the GA4 debugger. Even if I explicitly set debug=false.
Note that it will call the callback if the ready event has already fired.
I'm trying to disable segment anonymous tracking as detailed in the docs here: https://getanalytics.io/plugins/segment/#browser-api However, it seems that `instance.loadPlugin` does not exist as called here: https://github.com/DavidWells/analytics/blob/50152c03d144bd51fbe95e0b44de3cb6764d05b3/packages/analytics-plugin-segment/src/browser.js#L51-L61
I am using **@analytics/google-tag-manager**. I saw **analytics** have TypeScript support while **@analytics/google-tag-manager** not. When add ```ts import googleTagManager from '@analytics/google-tag-manager'; ``` got > TS7016: Could not find a declaration file...
Hello! Is there any support/package for that plugin with typescript? Thank you! S