E-mail Marketing Unsubscribe Link does not work in Kentico 11

Jon Bowen asked on June 12, 2018 15:18

I have setup an Unsubscribe Page for an e-mail marketing campaign in Kentico 11. The e-mail template substitutes in the unsubscribe link using {% UnsubscriptionLink %}. The e-mail campaign sets the unsubscribe link as ~/Newsletter-Unsubscribe.aspx (which is the correct relative url). Setting the Base Url does not have any impact.

No matter what I try, the unsubscribe link goes through a Redirect handler. For example (I removed the real email address and the domain from the link for this post)

CMSModules/Newsletters/CMSPages/Redirect.ashx?linkguid=d77618e3-8059-464d-b078-0f0d9579ec01&email=test%40test.com&hash=e31d749c5c7617422d1f1d3c7b4e825b26726167a332fc363330482c670a1c48

The link does not unsubscribe the user. It redirects the user to the home page. It looks like I'm following the documentation correctly. Any help would be greatly appreciated.

Correct Answer

Rui Wang answered on June 12, 2018 16:24

Jon, the macro for email marketing unsubscribe link should be {% EmailFeed.UnsubscribeFromEmailFeedUrl %}

The macro you are using is the old one for newsletters.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Jon Bowen answered on June 12, 2018 16:44

That fixed it, thank you.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.