Skip to content

🎯 Signup attribution & consent-independent analytics #4002

Description

@PierreBrisorgueil

What β€” Know where each new user came from, even when they decline the analytics consent banner, and make signup analytics complete for OAuth signups.
Why β€” Client-side analytics only starts after consent; users who decline leave no referrer/UTM trace, and OAuth signups emit no backend signup event β€” acquisition attribution is lost exactly on the accounts that matter.

Scope

  • Vue: capture first-touch attribution (document.referrer, UTM params, landing path) without cookies and send it in the signup request payload; emit an anonymous cookieless consent-choice event so the accept-rate is measurable; optional pre-consent anonymous pageviews (memory-only persistence, no persistent identifiers).
  • Node: validate + persist the attribution on the user at signup; attach it to the backend user_signed_up analytics event; fire user_signed_up/$identify on the OAuth signup path (today local-signup only).
  • Config-gated per stack conventions; no behavior change for consumers that disable analytics.

Sub-issues: one per repo (Node, Vue).

Created via /dev:issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions