I need to integrate an external form with Marketing Cloud, but it can't be done using DEManager.
I'm trying to use a webhook, which posts the form data into a CloudPage, but it's not working. When I use the Ampscript
RequestParameter fuction, the webhook receives a HTTP 500 response code.
Is it possible to perform this action using SSJS? I'm also trying to use the
Platform.Request.GetPostData() and the
Platform.Function.ParseJSON() functions, with no success.
Does the Landing Page must be rendered in the browser to get this working?
Here is my code:
%%[ Var @DataExtension,@email Set @DataExtension = 'LP GetSiteControl' Set @email = RequestParameter('email') InsertData(@DataExtension,'email',@email) ]%%