04 June 2020

Stripo Data Source, or How to Use AMP Lists in Emails with Stripo

Hanna Kuznietsova Head of Content at Stripo

AMP lists are meant to help you implement gamification, to let you update email content in real-time, and to let your users confirm appointments directly in emails.

Loading...

This May we ran our Quiz Series. The results of this Quiz showed that the AMP technology along with gamification has a positive impact on CTOR. Our recipients were interacting with the content in AMP emails 1.5 more actively rather than in HTML emails. 

But what stops email marketers from implementing AMP in their campaigns? One of the main difficulties you face here is the need to connect those emails to a server.

Connecting emails to servers is a time-consuming process, but for your convenience, we’ve just released Stripo Data Sources...

Stripo Data Sources: What is it for? 

AMP emails contain dynamic content. Quite often, they require amp-list components.

Like we said, to provide this type of content in emails, you need to maintain a connection between these emails and servers. It was kind of a pain in the neck as required a lot of programming skills or significant help from your programmers. And you had to do it for each campaign. Now these processes are totally on us.

Stripo Data Source:

  • sets appropriate CORS headers which are vital for AMP emails;

  • creates an endpoint for each email campaign with AMP components.

We do it all to help you build AMP emails way faster.

Our Data Source saves you hours, if not to say days, on building AMP emails.

Using Stripo Data Source

To use Stripo as your Data Source, you need to:

  • enter the “Data” section;

  • go to the “Data sources” tab;

  • click the “Connect a new data source” button;

  • in a new window, enter all required information about this particular connection;

  • copy URL address;

  • paste the JSON file that you’ve previously prepared (or the one we will build now together) in the JSON section;

  • done.

Important to note:

We recommend that you name this source after the goal of your email if you are going to use this email component across multiple campaigns.

You will need to edit your JSON every time new blog posts/videos appear on your blog to deliver the latest posts. But you will not need to make any changes to your emails. Stripo will transmit these changes/updates to your emails via endpoint (the URL address we’ll build now). It will replace images, text, etc. So you will not have to edit/replace welcome emails in your ESP.

BTW, in this way, you can always show only fresh and actual sales in your emails no matter when users see them.

eCommerce can show off the most popular items by using amp-list in their promo and welcome newsletters.

Creating a JSON file

Prior to customizing JSON, you need to decide on the mission your amp-list is going to fulfill.

I want to deliver the latest blog posts in welcome emails (it’s not vain, right?).

As a base for our JSON file, we’ll use a sample provided by Google.

{

  "items": [

    {

      "title": "AMP YouTube Channel",

      "url": "https://www.youtube.com/channel/UCXPBsjgKKG2HqsKBhWA4uQw"

    },

    {

      "title": "AMP Start",

      "url": "https://ampstart.com/"

    }

  ]

}

This part of JSON is repetitive. You can paste it as many times as you need. 

You can also add more elements in each section. We recommend that you edit one section, and then copy-paste it as many times as you need because it is important that each section has the same set of elements. 

You can edit your JSON either in any text editor or in the Sublime Text app.

The set of elements depends on the content you are going to show.

I want our recipients to see:

  • cover image;

  • title;

  • short description;

  • the “Read on” button.

So, here’s my JSON that I’m going to use for welcome emails:

{

  "items": [

    {

      "title": "Father’s Day: 33 Catchy Email Subject Lines and Email Examples",

      "url": "https://stripo.email/blog/20-catchy-fathers-day-email-subject-lines-marketing-ideas/",

      "imgUrl": "https://stripo.email/photos/shares/Blog/Stripo-Fathers-Day-Featured-Image.jpg",

      "text": "According to NRF, in the United States alone on Father’s Day, people spent upwards of $16 billion in 2019. You will need to run a heartfelt email marketing..."

    },

    {

      "title": "10 Best Ways to Use AMP in Emails",

      "url": "https://stripo.email/blog/ways-to-use-amp-in-emails/",

       "imgUrl": "https://stripo.email/photos/shares/Blog//AMP_Ways-to-Use-AMP_Stripo_Featured-Image.png",

      "text": "AMP is proven to be effective. It does increase conversion by at least FIVE times. All Gmail and Mail.ru users are now able to see AMP in their inboxes. Yahoo users will join them soon, too...."

    }

  ]

}

Where:

  • title — is a title of a blog post;

  • url — is a link to this blog post;

  • imgUrl — is a link to blog post cover image;

  • text — is a short description/annotation. 

Important to note:

All text that goes after colons in the quotation marks should be replaced with your content. You now do it manually.

For example:

  • "title": "your blog post title";

  • "url": "link to your blog post",

  • "imgUrl": “link to image”;

  • "text": “annotation/description”.

You just insert your code into Stripo Data Source, the JSON section. 

Building emails with AMP lists

Now that we have our URL, which is actually an endpoint, we may embed it in our welcome emails.

Step 1. Designing welcome emails

Right, first of all, we need to design our emails. 

Then you also work on the design of the email part where you are going to put blog posts into.

Mine is going to have this order:

  • cover image;

  • title;

  • annotation;

  • button.

It is important to set the right size for your cover image — you set proportions here just once.

Make sure all elements belong to one single structure.

Step 2. Embedding your endpoint into email

This is the most interesting part…

But it’s not that complicated as it may seem at first sight.

However, if you follow our step-by-step guide, your email will work:

because Stripo adds them automatically.