0

Is it possible to add a parameter to the smart capture link via AMP script?

I have created a page including Smart capture and passed a parameter via email using AMP Script to the landing page and stored it into hidden field.

Now I want to add this parameter to the Submit URL provided by Smart capture,

  • 1
    Why would you need to add this parameter to the submit url? – Rachid Mamai Jun 14 at 15:28
  • This parameter is a token . with the token attached to the URL, there is no need to login to the page page the Submit is leading to. – kalalewe Jun 14 at 15:35
1

There shouldn't be a need to modify the Smart Capture form's submit link. Hidden attribute values will be included during form submission automatically if their initial values are set to capture them from the CloudPagesURL-generated link, e.g., RequestParameter('my_token').

enter image description here

  • Thank you for the answer. – kalalewe Jun 14 at 18:11
  • Thank you for the answer. the token will be attached to the Data Extension, however It won`t be attached to the URL of the Submit Link. I tried to add the token as parameter, does not function either – kalalewe Jun 14 at 18:53
  • @kalalewe Smart Capture submits a POST request (not GET), so attaching your parameter to the submit link wouldn't work anyway. Is the token not being inserted into the DE after form submission following the answer above? – Mark G Jun 14 at 19:18
  • yes, the token is added to the DE, this is working fine. thanks for the hint, that attaching the parameter to the submit wouldn't`t work. Thats exactly what I wanted to do and tried to find a solution. – kalalewe Jun 15 at 6:12

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.