analytics
analytics copied to clipboard
Lightweight analytics abstraction layer for tracking page views, custom events, & identifying visitors
Currently when implementing a plugin, the interface you are implementing is very unspecific about the types: ``` interface AnalyticsPluginBase { name: string; EVENTS?: any; config?: any; initialize?: (...params: any[]) =>...
I would like to use analytics.trackLink helper method that segment (analytics.js 2.0) supports. The method is described here: https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/#track-link It is possible to implement? I can try to work on...
I tried using the HTML demo here https://analytics-html-example.netlify.app/ but get errors in the console (index):57 Uncaught TypeError: Cannot read properties of undefined (reading 'page') at pageView ((index):57:18) at HTMLButtonElement.onclick ((index):40:34)...
Hi All, Does anyone know if this wrapper allows for the ability to unload and then load a separate Segment.com writeKey based on the router path? I can't find any...
The current version of the customerio plugin uses a very old version of the `customerio-node` package which currently uses a version of `request` that uses a `tough-cookie` version with a...
## Description I am currently working on building out a consent manager feature and came across a few challenges integrating with the @analytics/google-tag-manager plugin. I've created some (_"sketchy" - at...
As explained in this [issue](https://github.com/DavidWells/analytics/issues/438), the storage operations cannot get awaited. This leads to bad control flow.
Hey there 👋 Currently there's no way to know, when a item was set to a storage (except for adding a listener, but this doesn't work for a control flow)....
Current implementation of [`analytics.identify()`](https://getanalytics.io/api/#analyticsidentify) does't allow to set userId back to null The only way i manage to reset userId is with [`analytics.reset()`](https://getanalytics.io/api/#analyticsreset) but it clears annonymouseId and thats what...