Has anyone implemented a custom subscription center using landing pages? The example one from the documentation doesn't seem to be working. I would really like to just customized the out of the box one but the amp script is hidden when I view source. Does anyone have and tips/tricks for creating a sub center?


  • Welcome to SFSE! Feel free to update your user name and stay awhile. Aug 20 '14 at 1:37
  • I am trying to do this as well, anyone have a page they build which they can forward me so I can take a look? Dan Dec 16 '16 at 0:15

Yes. Custom preference centers are generally complex and are often via engagement either with SFMC directly or via SFMC partner. The ones I've done have taken 30-50 hours depending on the requirements.

As for tips and tricks...

  • Understand the SFMC data model and how subscriber statuses are handled for your account type (global, business unit, publication). Things are handled differently in an Enterprise 1.0 account than they are in an Enterprise 2.0 account.
  • Use Server-Side JavaScript to leverage arrays and functions. The coding can be done entirely in AMPScript, but it's easier to create object-oriented code in SSJS.
  • Utilize the SOAP examples when structuring your API calls
  • Be sure to correctly log unsub events when handling unsubscribes
  • I normally build preference centers in 4 pages:

    1. Subscription Center Page - subscribers opt-in and out of lists or publications marked as Public.
    2. Profile Center Page - subscribers update their information (emailaddress, name, zipcode, etc).
    3. One-Click Unsubscribe Page - subscribers are immediately unsubscribed from the publication used as the send audience in your SFMC account (or globally if it's not specified) and
    4. Results Page - a thank your or error page depending on the action taken on pages 1-3.
  • Thank you so much for the reply. For a start to understanding everything, why can't I simply copy this: help.exacttarget.com/en-US/technical_library/web_service_guide/…. Into a landing page and have it work. I must be doing something wrong Aug 19 '14 at 16:23
  • The code sample is dependent on you visiting from an encoded URL. You'll need to build an email that links to your new page and send it to a test list (that contains your email address) using a Guided Send. Build the links in your email using the MicrositeURL() AMPScript function. Aug 19 '14 at 16:38
  • Do you have any sample html from sub enters you have created? Aug 19 '14 at 18:18
  • 1
    Not that I can share, no. I'd be glad to answer specific questions you have as you're writing your code. Aug 19 '14 at 21:55
  • Thanks, what URLs go in the form action parameters? I've seen it different in multiple examples. Aug 20 '14 at 14:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.