How to store responses from an AMP mail | Community
Skip to main content
March 2, 2023
Solved

How to store responses from an AMP mail

  • March 2, 2023
  • 3 replies
  • 1308 views

Hello everyone,

I am facing an issue I want to store responses made by a recipient in an AMP mailer. 
Can anyone tell what do I need add in the template and what to configure at Adobe campaign console.

 

 

Thanks,

Rishabh

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Manoj_Kumar

Hello @rishabh_gupta17 

 

I believe you are using amp-form in your email to capture some responses, and upon selection, the form data should be synced in AC.

 

This is possible in AC by creating a JSSP page. You will have to write the code to accept the content coming from email and then save it in AC.

 

In the action-xhr attribute for amp-form tag, you will have to use the AC JSSP URL:

 

Before doing this, you will have to fix a CORS issue. This means the AC endpoint should be able to receive data from any website. 

You should already have this code in a sample JS file under Administration > Configuration >  Javascript code >  Search for amp

 

More information on amp-form is available here: Example: Advanced Server Request - amp.dev

 

 

3 replies

Parvesh_Parmar
Community Advisor
Community Advisor
March 2, 2023

Hello @rishabh_gupta17,

I did not find any details in adobe documents about updating the data in recipient table.

https://experienceleague.adobe.com/docs/campaign-classic/using/sending-messages/sending-emails/defining-interactive-content.html?lang=en#targeting-amp-email


I would suggest to check with Adobe support to confirm if this feature supported out of box.

If this is not supported then I think you need to try to send request application server with API. You might need to develop JSON api via JSSP. I think AMP does not support SOAP. But I am not sure about it.

Make sure your application  or web server should be accessible from public network.

https://amp.dev/documentation/examples/interactivity-dynamic-content/advanced_server_request/

https://www.arengu.com/blog/how-to-develop-implement-amp-forms-on-amp-pages


Kr,
Parvesh





Parvesh Parmar – Adobe Community Advisor https://www.linkedin.com/in/parvesh-parmar/
Manoj_Kumar
Community Advisor
Manoj_KumarCommunity AdvisorAccepted solution
Community Advisor
March 3, 2023

Hello @rishabh_gupta17 

 

I believe you are using amp-form in your email to capture some responses, and upon selection, the form data should be synced in AC.

 

This is possible in AC by creating a JSSP page. You will have to write the code to accept the content coming from email and then save it in AC.

 

In the action-xhr attribute for amp-form tag, you will have to use the AC JSSP URL:

 

Before doing this, you will have to fix a CORS issue. This means the AC endpoint should be able to receive data from any website. 

You should already have this code in a sample JS file under Administration > Configuration >  Javascript code >  Search for amp

 

More information on amp-form is available here: Example: Advanced Server Request - amp.dev

 

 

Manoj  | https://themartech.pro
Sukrity_Wadhwa
Community Manager
Community Manager
April 4, 2023

Hi @rishabh_gupta17,

Were you able to resolve this issue with the help of the given solutions or do you still need more help here? Do let us know.

In case any of the given solutions was helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.
Thanks!

Sukrity Wadhwa