I'm sure this is quite straight forward however i can't for the life of me work it out. I'm trying to output someone's first name into a cloud page (not a smart capture field)

Essentially its a response page that says Thanks %%FirstName%% for your response

The Data Extension has 3 fields (Email address, FirstName, LastName)

Code i have in email:

    <p><a href="%%=RedirectTo(CloudPagesURL(1045))=%%">yourPage</a></p>

Code i have in the Cloud Page


If FirstName happens to be accessible from within the email, you can pass it along inside the CloudPagesURL function:

%%=RedirectTo(CloudPagesURL(1045, 'FirstName', AttributeValue(FirstName)))=%%

...or if FirstName is a field in the sendable DE...

%%=RedirectTo(CloudPagesURL(1045, 'FirstName', [FirstName]))=%%

Then retrieve it in the CloudPage like so:

var @firstName
set @firstName = RequestParameter('FirstName')
Thanks %%=v(@firstName)=%%
  • Thanks very much, option 2 worked a treat – Andyw Jun 27 '19 at 4:49

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.