Skip to content

How to Export Leads and Activity to CSV

Both screens export everything they hold, whatever filter or search is on screen.

Open Content to PDF → Leads and click Export CSV.

The Leads screen with Export CSV at the top

The file is content-to-pdf-leads-<date>.csv. A row from the demo:

Name,Email,Content,Source,Consent,Date
"Lucas Ferreira",lucas.ferreira@example.com,"Building an E-Commerce Empire with WordPress: A Comprehensive Guide",download,no,"2026-10-19 21:04:43"

Open Content to PDF → Activity and click Export CSV.

The Activity screen

The file is content-to-pdf-logs-<date>.csv, with the columns Content, Action, Template, User and Date. A signed-in reader is listed by email, a visitor as Guest.

Both open in any spreadsheet. Before importing leads into a mailing tool, keep only the rows where Consent is yes.

  • Values starting with =, +, - or @ get a leading apostrophe, so a spreadsheet does not run them as formulas.
  • For leads as they arrive, rather than in a file, use the ddcpdf_lead_captured action.