[SalesForce] Implementing a Custom Subscription Center in Salesforce Marketing Cloud

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?

Thanks!

Best Answer

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.

2021-10-28 Update:

Here's the boilerplate that I use.

Related Topic