AMP technology helps to create interactive emails, as well as output data in the email from external sources and send data from the email to a remote data collection service.
AMP emails will be displayed in email clients that support this technology. But how to collect data from emails in that email client where AMP functionality has not supported? To figure out this, let's look at a simple example of how email marketers work when creating mailings using AMP.
If the task is to send a letter with a survey form, the marketer adds a Form block, which contains the field for text entering and the "Submit" button.
Next, you need to add another hidden field in which a unique identifier (merge tag) will be transmitted, such as the recipient's email address.
The Email Service Provider will replace {subscriber_email}
with the recipient's real email address. The value of the hidden field will be sent along with the text of the review to the remote data collection service, and the marketer will be able to understand who sent the feedback.
Ok, the preparation of the AMP version of the letter is complete. Now you need to take care of the regular HTML version of the letter, the fallback, which will be delivered to those subscribers who do not receive the AMP letter.
How to build the fallback structure?
To do so, the marketer creates an alternative module in the letter with an invitation to follow the link and leave feedback there.
As a link, he will provide a link to the AMP web version of the template.
Link to AMP web version has GET parameter type
with amphtml
value, for example https://viewstripo.email/b0105cdb-4999-41d9-a464-27423a943ee71640270495814?type=amphtml.
For a unique identifier (email address) to be sent with the form, you must manually add another GET parameter to the button link, which the marketer set as a hidden field in the AMP settings of the form.
This parameter is email; additionally to email
parameter, the tag for the email address needs to be specified. When added, the link will look like this:
When the user receives an email and opens this link in a browser, he will be redirected to an AMP email, where the form will read the GET email
parameter, save it and send it along with the text of the feedback.
The number of such hidden fields and, accordingly, GET parameters in the link can be more than one.
Thank you for taking the time to read our articles. We hope you will find this information helpful.
If you have any additional questions, please email us at support@stripo.email.
We would be glad to talk with you.