Skip to content

article

Exporting Analytics Data to CSV

Download the raw event stream for a date range and event type as a CSV, up to 5,000 rows.

Why export

StretchAnalytics answers most questions inside the app, but sometimes you need the raw rows — to hand to a colleague, load into a spreadsheet, or feed another tool. The Export feature produces a clean CSV of your event stream for a chosen window and event type, scoped to your organization.

What's in the file

Each exported CSV includes these columns:

  • event_key
  • event_name
  • brand
  • site
  • page_path
  • cta_name
  • form_name
  • messenger_lane
  • created_at

Values are properly CSV-escaped, so commas, quotes, and line breaks in fields won't corrupt the file. The export returns a suggested filename like stretchanalytics-events-YYYY-MM-DD.csv, the row count, and the CSV content.

The inputs

  • from / to — the date window to export.
  • event_name — optional; limit the export to a single event type.

Exports are capped at 5,000 rows per file, most recent first, so a single export stays fast and manageable.

Step-by-step: export a week of submissions

  1. Open the Export action in StretchAnalytics.
  2. Set from and to to the week you want.
  3. Set event_name to form_submission to export just submissions.
  4. Run the export and download the CSV.
  5. Open it in your spreadsheet tool of choice.

Step-by-step: export everything in a window

  1. Open Export.
  2. Set your from/to window.
  3. Leave event_name empty to include all event types.
  4. Run and download.

Step-by-step: automate it

If you need the same export regularly, don't do it by hand — set up a scheduled email export instead (see Scheduling Email Exports) to have a CSV delivered to recipients on a daily, weekly, or monthly cadence.

Example

At month-end, a RevOps analyst exports all form_submission events for the month, opens the CSV, and pivots by site and page_path to attribute leads to campaigns. Because the file is already scoped to her organization and cleanly escaped, it loads without a single formatting fix.

Tips

  • Narrow the window to stay under the 5,000-row cap; export month-by-month rather than a whole year at once.
  • Filter by event_name when you only need one signal — smaller files are easier to work with.
  • The file is most-recent-first; sort by created_at in your spreadsheet if you want chronological order.
  • For recurring needs, prefer a scheduled email export over manual downloads.

Troubleshooting

My export is empty. No matching events fell in the window. Widen the date range or remove the event_name filter and try again.

I expected more rows. Exports cap at 5,000 rows. Split a large pull into several smaller windows.

Special characters look odd in my spreadsheet. The CSV is UTF-8 and properly escaped; make sure your spreadsheet tool imports it as UTF-8 to render accented characters correctly.

Was this helpful?

Help us improve this article

Use these controls to share whether this answer solved the issue. Feedback helps prioritize updates to StretchSuite Support.