mhoad / oaf-analytics

Outstanding issues to fix up the analytics implementation on the new OAF website
0 stars 0 forks source link

Set a cookie when users make a donation #4

Open mhoad opened 7 years ago

mhoad commented 7 years ago

If we were able to set a cookie for any users who had made a donation and reached the donation thank you page https://oaf-production.torchboxapps.com/give-thank-you/ that would be awesome.

We don't need anything particularly special stored just the fact that they are a donor.

nimasmi commented 7 years ago

I have added the cookie 'onaecrefund_is_donor', with a value of either 'one-time' or 'recurring', depending on the donation type. I have tested this locally, but there are currently issues with testing donations on the deployed sites, related to the Authorize.Net account. This is deployed to staging for now, but staging is not configured with any Authorize.Net or Salesforce credentials, so it cannot be tested there, either.