I have a Landing Page in CloudPages that contains several content blocks. I want to use AMPscript, but somehow it seems as the code in the content blocks will not be executed. Not even requesting URl parameters does work:
I have

%%[ VAR @id SET @id = RequestParameter('id') ]%%



will be empty, although my url ends on ?id=myID.
What am I missing?

1 Answer 1


You need to print the variable using


And not

  • Wow, that was simple, thank you. But I still have the impression that the script doesn't run correctly. Calling functions like RetrieveSalesforceObjects('Subscription__c', 'Id, Contact__c', 'Contact__c', '=', @id) or LookupRows('Subscription__c_Salesforce', 'Contact__c', @id) still doesn't work and leaves me with a blank screen (not even 500 Internal Error, but literally blank). Any more suggestions? :(
    – Guest9875
    Feb 22, 2018 at 15:39
  • Please add a new question and provide fuller view of ampscript. @Guest9875 Feb 22, 2018 at 22:21

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.