openaustralia / oaf

OpenAustralia Foundation
https://github.com/openaustralia/oaf#readme
4 stars 3 forks source link

Unsubscribe people in CiviCRM that have clicked unsubscribe on recent mailouts #177

Closed henare closed 9 years ago

henare commented 9 years ago

On our recent mailings we included a link to unsubscribe. Unfortunately it seems that this link in CiviCRM was to remove people from the "group" however as it's a "smart group" they'll never be removed! (because that's based on a search query)

So what we need to do is download the list of people that have unsubscribed and mark them as "opt-out" - that should stop them ever getting stuff from CiviCRM again.

Oh and in future emails we need to remember to use the opt-out token instead of the unsubscribe token.

henare commented 9 years ago

From what I can tell, this is actually working! Yay CiviCRM (I don't say that often).

When I search for people in the PlanningAlerts smart group I get less than if I search for the tag so it seems CiviCRM does keep track of the unsubscribes and removes them from the group.