analytics
analytics copied to clipboard
Lightweight analytics abstraction layer for tracking page views, custom events, & identifying visitors
**Background** As a TypeScript user working with the `@analytics/mixpanel` plugin, I want to have the plugin (and primarily the plugin config) covered by TypeScript After https://github.com/DavidWells/analytics/pull/114, adding TypeScript support is...
On certain iOS devices I'm noticing that when we call: ``` const { anonymousId, userId } = analytics.user() ``` both are coming back as `undefined`. We don't have this problem...
Hey, I am trying to send page view data to google analytics from my node server. However I get the following error: ```bash (node:63483) UnhandledPromiseRejectionWarning: Error: Missing path, href or...
Hi, I really like the library. But I have a weird issue I am not able to solve and also looking through the docs and checking the code did not...
It would be great if `use-analytics` npm package can bundle type definitions. It would help me get rid of this from my code: https://gitlab.com/trao/trao.dev/-/blob/master/global.d.ts#L11 I would be happy to file...
**Update for Google Analytics plugin** When tracking from server side sometimes is needed to share the `clientId` created in the browser so the tracking on both sides (browser and server)...
Hi, is it possible to chain multiple plugins to modify the payload so that changes from one plugin are passed to another? **Example:** The setup is like this: ```js Analytics({...
Current behavior: If I have 2 plugins with e.g. a track hook, and one plugin defines a namespaced hook to run before the other plugin (`track:pluginB` in the example below),...
updated docs to match https://www.npmjs.com/package/@analytics/original-source-plugin
This PR adds the ability to validate action names in addition to object and context.