SendGrid and Google AMP for Email

Google AMP (Accelerated Mobile Pages) is a proprietary Google technology built to speed up mobile apps and websites. AMP for Email is an extension and adaptation of the AMP technology that enables interactivity for Gmail recipients' email messages including carousels, expanding accordions, dynamically updating content, and more. For more information on Google’s AMP specification for email, best practices, and how to register to use AMP see Google’s AMP documentation.

SendGrid v3 API supports Google AMP for Email. You cannot send AMP content in SendGrid v2 API. Users can send AMP via SMTP however we strongly suggest sending it through V3.

Sending AMP with SendGrid

SendGrid v3 API supports the AMP MIME part as well as the ordering recommended by Google to ensure compatibility across different mail clients. We recommend following Google’s documentation to send AMP messages through SendGrid.

Tracking AMP with SendGrid

Open and click metrics for AMP will be aggregated with html open and click metrics in the SendGrid UI, but the AMP events are uniquely identified when collected via the Event Webhook.

AMP Open Identifier

Open event tracking for AMP is identified by a JSON field called sg_content_typeand will be amp instead of html.

    "email": "",
    "event": "open",
    "ip": "",
    "sg_event_id": "zgAjGPn1TGmO62eSqw9VBQ",
    "sg_message_id": "zT-FDCibS4uwaz08cIX8_Q.filter0794p1las1-20361-5CCC528C-16.0",
    "sg_content_type": "amp",
    "timestamp": 1556901948,
    "useragent": "Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via GoogleImageProxy)"

AMP Click Identifier

Click event tracking for AMP is identified byurl_offset.type is amp.

    "email": "",
    "event": "click",
    "ip": "",
    "sg_event_id": "fmip8TM8RWqJjT44cL5z-w",
    "sg_message_id": "zT-FDCibS4uwaz08cIX8_Q.filter0794p1las1-20361-5CCC528C-16
    "timestamp": 1556901957,
    "url": "",
    "url_offset": {
        "index": 0,
        "type": "amp"
    "useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36"

Google requires all images to use HTTPS, which will require you to enable SSL tracking on your SendGrid account in order to track opens.

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the SendGrid tag on Stack Overflow.

Thank you for your feedback!

We are always striving to improve our documentation quality, and your feedback is valuable to us. Please select the reason(s) for your feedback or provide additional information about how we can improve:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more