I'm trying to send an email to Data Extension A that will link users to a Marketing Cloud Landing Page with a Smart Capture form. The Smart Capture form is updating Data Extension B.
The form that updates Data Extension B has a field for email address, and I'm trying to pre-populate that field on the Smart Capture form with the email address in the sending data extension, Data Extension A.
I'm having trouble getting it to work. Does anyone have some sample AMPScript that I could try for this?
Thanks.
Best Answer
There are 2 ways that we use to pass user information to Landing Pages:
Option 1: QueryParameter
In Email:
On LandingPage:
Option 2: LookupRows & DataView
In Email:
On LandingPage:
Note that both of these methods are taking values from AMPScript at the time of send, and appending them to the destination URL string. For this reason, you may need some security/hashing/encoding to prevent malicious attempts to access your customer data via the form.
I hope that helps.