I am wondering what is the best way we can you push data into Data Extensions from an external Landing page. Would an API be able to handle this? Could AMPscript be used or not, because the page would be hosted externally.


1 Answer 1


Ampscript would not work on an external landing page. You can use the REST API to insert a record into a data extension. Sample code is mentioned below. Also refer to the REST API reference https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/routes.htm

Host: https://www.exacttargetapis.com
PUT /hub/v1/dataevents/key:{key}/rows/{primaryKeys}
Content-Type: application/json
Authorization: Bearer YOUR_ACCESS_TOKEN


You must log in to answer this question.

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