Quantcast
Channel: Active questions tagged ampscript - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 359

Custom CloudPage Preference Center

$
0
0

I'm trying to build a simple preference center using Smart Capture. I'm trying to have the user experience be when the person clicks the "Unsubscribe" CTA in the footer it sends them to a Landing Page I've created. I need to pull the subscriber information from a Subscriber List rather than a Data Extension but I'm not sure on the following.

  1. Passing the Email Address to the landing page from the email, so when the subscriber hits the Preference Center is will read "EMAIL_ADDRESS" is currently subscribed
  2. When the user submits the form it will unsubscribe them from the Subscriber List.

Am I able to use the follwing?

%%[    var @LIST1, @lookupValue    set @lookupValue = AttributeValue("lookupField")     set @lookupValue = "EMAIL_ADDRESS"    set @LIST1 = Lookup("ListName", "List1", "LookupColumn", @lookupValue)]%%

List 1 is %%=v(@List1)=%%


Viewing all articles
Browse latest Browse all 359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>