0

Is there any personalization string to retrieve cloud page ID within the same cloud page as i am using the smart capture form on it i have cloud page id as a hidden field. I am adding it to the data extension so we can track consent and versions of the Cloud page.

1 Answer 1

0

If it's a parameter on the URL then you could use ampscript RequestParameter() function.

See https://salesforce.stackexchange.com/a/146831/45908.

If you want the full URL then you could get it with JavaScript : window.location.href

3
  • Ya i tried it sorry i should have mentioned that when i used %%_EmailID%% getting blank or zero. Jan 10, 2018 at 18:16
  • Does it have to be the cloud page of? Or could you not log the URL instead?
    – Gravitai
    Jan 10, 2018 at 18:20
  • I can live with URL too how can i retrieve the url? eventually my goal is to send back this info to sales cloud Jan 10, 2018 at 18:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.