You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AI Traffic is the only data-heavy dashboard page with no CSV export. Insights, Prompts, Topics, Citations, and Shopping all ship an "Export CSV" button built on the shared toCsv helper; the Traffic header has only the date picker.
Evidence
No export UI anywhere on the page (header at traffic/page.tsx#L618-L636); toCsv is not imported in the file
Add an "Export CSV" button to the page header exporting the visit log for the selected date window and active filters (timestamp, platform, page URL, referrer). getTrafficLogs already accepts the filters; the export should fetch with a high limit rather than the current page. Exporting the platform breakdown and top pages tables as additional files (like the Shopping page's multi-export) is a welcome bonus but not required.
Follow the existing ansvisor_${slug}_traffic_${date}.csv naming convention used by the other pages.
Acceptance criteria
Export CSV downloads the visit log matching the current date window and filters.
Button shows a spinner while exporting and a toast on failure, like the Citations implementation.
Activity