-
-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Labels
auto-generatedAutomatically generated contentAutomatically generated contentclaude-codeItems created or modified by Claude CodeItems created or modified by Claude Code
Description
There seems to be confusion about the anonId and how to not persisting user data. We should add to the docs somewhere that if you're using the Analytics Core library, no IDs anonymous or otherwise are persisted.
E.g.
import { Analytics, EVENTS, CONSTANTS } from '@analytics/core'
import storage from '@analytics/storage-utils'
// See ../packages/analytics-core for source code
export default function analyticsLib(opts = {}) {
// const defaultSettings = { storage } // no storage now
return Analytics({
...defaultSettings,
...opts
})
}
export { analyticsLib as init }
export { analyticsLib as Analytics }
export { EVENTS, CONSTANTS }See more in #345
The docs live in https://github.com/DavidWells/analytics/tree/master/site/main/source dir. Maybe add a new file or update one where this might make sense
Metadata
Metadata
Assignees
Labels
auto-generatedAutomatically generated contentAutomatically generated contentclaude-codeItems created or modified by Claude CodeItems created or modified by Claude Code