Fundraising tech/CiviCRM

We use Open Source CRM CiviCRM to manage our donor data.

Email sending logic
We send bulk email via Acoustic based on nightly uploads. The nightly uploads include a calculation of which mails are opted_out based on if any of the following fields indicate opt_out:

civicrm_contact.is_opt_out

do_not_email

do_not_solicit

email.on_hold

Contacts can become opted out by the following ways


 * Filling in a donation form with an opt-in option and not selecting it - the contact record is set to opt_in = 0 on import & on merge the latest is kept
 * An action we import from Silverpop causing them to put on hold - see Fundraising tech/CiviCRM
 * An action we import from Silverpop causing them to be unsubscribed - see Fundraising tech/CiviCRM
 * Donor services manually unsubscribing them based on donor feedback via the Unsubscribe form (our url is civicrm/a/#/email/unsubscribe)
 * Major gifts marking them do_not_solicit
 * The donor accessing our unsubscribe form & their desire not to be subscribed being processed through our queue.

Data transfer between CiviCRM and Acoustic (aka Watson Campaign Automation Silverpop, IBM )
Mailings are sent out from the external tool Watson Campaign Automation - formerly Silverpop.

We retrieve data back into CiviCRM from WCA in the following forms

Mailing data
WCA only stores data for 450 days. We retrieve this data for longer storage.

We store the following data in the civicrm_mailing table: And we store additional fields in the table civicrm_mailing_stats - these fields are generally aggregate information as calculated by WCA

This table is provided by the extension Extended Mailing Stats. - it also adds the table civicrm_mailing_stats_performance which we don't use. There is double up between this & the civicrm_mailing table on some fields but that is because the schema was

determined by an external extension writer with slightly different needs.

Remind me later contacts
Contacts who are in Silverpop but who do not have a contact_id from CiviCRM are considered to be 'remind me later contacts' - who signed up via silverpop. We retrieve these contacts and add them to the group in CiviCRM called 'Silverpop imports' (group id is 310 - url is https://civicrm.wikimedia.org/civicrm/group/search?reset=1&force=1&context=smog&gid=310&component_mode=1 ). We retrieve the following information about them

- language

- source

- created date

- country

- email

Recipient data
We retrieve information about mailing actions (sending, opening etc) for each contact. This information is stored in the civicrm_mailing_provider_data table with the following fields

Matching Gifts
We are building a CiviCRM extension to pull data about corporate matching gift policies from SSBInfo and store it as Organization records with custom fields.


 * Matching gifts provider ID
 * Matching gifts provider info URL (for SSB: https://javamatch.matchinggifts.com/search/companyprofile/wikimedia_iframe/ from json: online_resources.id)
 * Minimum (USD) gift matched
 * Name as specified by matching gifts provider
 * Guide URL
 * Online form URL
 * Matching gifts info last updated date?
 * List of subsidiaries in a text blob (JSON? delimited list? what delimiter?)
 * Flag to suppress companies from the frontend dropdown if they come in on the search but turn out to NOT actually match our donations.