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,

2
  • 1
    Why would you need to add this parameter to the submit url? Commented Jun 14, 2019 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
    Commented Jun 14, 2019 at 15:35

1 Answer 1

2

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

4
  • Thank you for the answer.
    – kalalewe
    Commented Jun 14, 2019 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
    Commented Jun 14, 2019 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
    Commented Jun 14, 2019 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
    Commented Jun 15, 2019 at 6:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .