Check List Membership on a Landing Page

Suppose you want to see if a Subscribers exists on a List in a Landing Page or Microsite Page in the Salesforce Marketing Cloud? I generally do that with SSJS for various reasons. It’s also possible to do it with AMPScript API functions. Bonus that it’s faster:

For more info:
Landing Pages
Microsite and Landing Page AMPScript Functions
API AMPScript Functions
Using Complex Filter Parts

Leave a Reply

2 Comments on "Check List Membership on a Landing Page"

newest oldest most voted
Notify of

First, this is very useful code – thank you very much!

Second, I noticed that when testing, it is returning an ‘Active’ status for every subscriber it finds on that list, regardless of their current status. It would seem that the “set @status = field(@row,’Status’)” should return the proper status, so I’m not sure if it is something I’m missing.