We’ve posted about this quite a while back but it remains one of the most common questions we get.
How can I get the address of people who just unsubscribed, so I can keep my database up to date?
Since we first answered, we’ve added a full API which has a method for getting a list of people who have unsubscribed since a specified date. If you have some development skill available, that’s a great way to keep things in sync.
However, you don’t have to use the API – a simple way of getting hold of those unsubscribed addresses is to use the custom unsubscribe confirmation page. You can find it under ‘Unsubscribe Options’ for any list, and it lets you enter a URL that we will send people to after they unsubscribe from your list.
You can just have a static ‘sorry to see you go’ page there, but you can also pass through the unsubscribing email address, and send it to whichever internal system you have.
It’s very simple – just make your unsubscribe URL something like:
That [email] tag will be replaced with the relevant address, and passed onto your pag, and from there it’s up to you. Anyone who unsubscribes via a link in your campaign or an unsubscribe form will be handled in this way.
Please note: You can’t pass through any custom field values on the query string like this, only the name and email address will work.