Skip to content

Analytics controls: toggle, clear data, CSV export #673

Description

@ShantKhatri

Summary

Give card owners control over their own analytics data.

Contexts

Privacy-first feature: analytics is off/on per card, and owners can wipe or export their data at any time.

Tasks

  • Per-card toggle to enable/disable analytics tracking
  • "Clear all data" action with confirmation
  • CSV export of raw aggregate data

Acceptance Criteria

  • Toggling off stops new events from being recorded
  • Clear data permanently removes card_view/platform_click rows for that card
  • Export produces a valid CSV
  • Tests added

Area

web

Difficulty

Good first issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions