@funnelsgrove/analytics
v0.1.0
Published
Shared public analytics SDK helpers for funnels.
Readme
@funnelsgrove/analytics
Shared public analytics SDK helpers for funnels.
Build And Publish
- Build distributable output with
npm run build --workspace @funnelsgrove/analytics. - Publish from the repo root with
npm publish --workspace @funnelsgrove/analytics --access public. - Local repo installs still resolve this package through npm workspaces when another workspace depends on version
0.1.0.
Use This Package For
- browser user-id persistence
- public analytics event batching and transport
- identify/track helpers for the public SDK
- identify bootstrap helper for funnel identity
- local-only fallback when only the seed publishable key is present
Responsibilities
- keep client identity stable across funnels
- own the browser storage contract for the external user id
- send analytics events through the shared API contract
- avoid noisy network calls when a real publishable key is not configured
What Belongs Here
- cookie/localStorage identity helpers
- public SDK wrappers
- event normalization and transport
What Does Not Belong Here
- step routing
- manifest logic
- Stripe checkout UI
- funnel-specific step components
