Need to custom one-click unsubscribe landing page in AMPscript? Here’s how I generally code it:
This leverages the AMPscript API functions and mirrors the process you’d take if you were doing this with the Marketing Cloud SOAP API.
Reference:
- RequestParameter
- Empty
- AttributeValue
- CreateObject
- SetObjectProperty
- AddObjectArrayItem
- InvokeExecute
- Row
- Field
- Output
- Concat
20190320 Update
If you’re having trouble finding the Publication ListIDs in your account, you can drop this bit of Server-Side JavaScript in your page. It’ll output a list of them.
(Visited 8,010 times, 1 visits today)