Connect action data to your systems with the right field mappings. Keep consent, payment currencies and timestamps intact when importing an export.
Use the Export Schema as Supplied
Field names are stable data identifiers, even when they use UK terminology. For example, sender_address_postcode can contain a US ZIP code: do not rename the column during an automated import unless your receiving system explicitly maps it. Confirm optional fields and the current export with a test record.
Default Format
The supporter / sender data default export via the dashboard and API has the following columns. The default format includes some fields in json format. A 'flat' (no JSON) CSV file format is also downloadable via the dashboard or the API
Note that for security and privacy purposes, only specific named people are given access to the sender data download.
- sender_ref (string): a campaign-supplied reference passed via the URL (see advanced usage)
- sender_email (string): the sender's email address
- sender_name_given (string): the sender's given (first) name
- sender_name_family (string): the sender's family (last) name
- optin_responses (json): the sender's answers to the questions (consent and others). A json string might look like
{"email":{"id":"1","value":"No"},"post":{"id":"2","value":"Yes"}}which shows that to a question about email (the codes reflect the question), they answered 'No' ('value': 'No') but to one about post they selected 'Yes'. The id is for internal use in case the question code and answer is changed there is still a audit trail back to the original. - sender_address (json): the sender's postal address if requested and provided in json key:value format
- sender_address_postcode (string): the sender's ZIP code if requested and provided
- sender_address_country (string): the 2 letter ISO country code of the sender's location - default for many actions
- action_name (string): the action name the sender participated in
- publish_phase (string): the phase of the campaign when the sender's action was started. Usually 'live'.
- postitem_status (string): the status of the sender's action. Usually 'success' as only successes are exported. But other statuses are stored for each step of the action.
- track_referrer (string): the site url the sender clicked on to get to the action. Blank means no referrer was available; it does not identify a particular channel
- track_params (json): the utm parameters included in the URL the sender clicked on
- created_at (timestamp): date and time in UTC/GMT of the sender's action. Convert UTC timestamps to the relevant US time zone and account for daylight-saving changes when comparing reports.
- updated_at (timestamp): date and time in UTC/GMT the sender's data was updated (usually by each step of the action).
- lang_code (string): the two-letter ISO language code of the the sender's action.
- postitem_format (string): not yet used. It will eventually be options like postcards, letter, etc.
- img_filename (string): the image version the sender chose. Note these will likely have been renamed from what was originally supplied.
- postage_type (string): not yet used as only standard postage is available.
- pay_status (string): if sender pay and pay forward are used, this is the status of the sender's payment.
- pay_option (json): if sender pay and pay forward are used, which option they chose
- mod_status (string): what the moderation status is at the time of export
- mod_flag (string): if the moderation flag/like/star (different from status) is set to yet (or no)
- post_status (string): if the postcard has been posted or not
- post_timestamp (timestamp): when the postcard was posted
- tx_status (string): if sender pay and pay forward are used, the status of the transaction
- tx_value_currency (string): if sender pay and pay forward are used, the transaction currency
- tx_value_amount (string): if sender pay and pay forward are used, the transaction amount (before Stripe fees)
Export API
A JSON API is also available for supporter data export. Each client has their own dedicated end-point. If your server has a fixed IP or IP range, access requests can also be further restricted. See the API documentation.
In addition to the default format, a more traditional flat-file format (no json columns) is available via the API.
