Firstly I went through this thread when I began to think on this! Super Messages and CloudPage impressions
Approach 01
%%[
Set @flag = RequestParameter("submitted")
IF @flag == "submitted" then
/* AMPscript which gets executed after the form is submitted */
Else
/* AMPscript which gets executed during the first time load */
]%%
<!DOCTYPE html>
<html>
<head>
<body>
<form action="%%=RequestParameter('PAGEURL')=%%" method="post">
/* some content */
<input type="hidden" value="submitted" name="submitted">
</form>
<form
</body>
</html>
%%[endif]%%
Approach 02
Create 2 cloud pages
1) Capture all your required data. And post all form data to next cloudPage for processing.
<form action="%%=RequestParameter('PAGEURL')=%%" method="post">
2) On second cloud page use RequestParameter() method to get data and process.
Set @field1 = RequestParameter("field1")
My question is in the Approach01 as we are NOT hitting cloud-page from an external link/application, does the second time execution is NOT considered as an IMPRESSION and which would save my super messages!
Please Share your thoughts or any better approach to save IMPRESSIONS for the same page.