i created a landing page that contains a smart capture but i want to retrieve the pageID of this page and then add it to the data extension.
I'm using this in my email to redirect to my cloudpage :
%%=CloudPagesURL(1140)=%% And the fact is that i cannot add other parameters but i need to retrieve this "1140" and print it in my hidden field.
I tried to use %%_EmailID%% and requestParameter but it didn't work, maybe i did it in the wrong way.
So is there any possibility to retrieve the pageID and print it in a smart capture hidden field ?

%%=CloudPagesURL(1140,"cid","1140)=%%you can then retrieve this inside of the Page usingSET @CID = RequestParameter("cid"). The parameters you add affter the page number in CloudPagesURL will not show in the URL, as they are 'hidden' like all the email related information is when passed across. (ref: developer.salesforce.com/docs/…)%% = CloudPagesURL (1140, "cid", "1140) = %%works very well I tested it but I am looking for something more" automatic ". I work with people who are not really capable to do this kind of manipulation without making a mistake (if I don't find another solution I will use this one) Basically, I have a giant data extension that will be filled by the results of all the forms on different cloud pages. So I have to be able to distinguish which cloudpage a form result comes from