Email marketing is a powerful tool, and creating engaging content is key to capturing your audience's attention. One way to achieve this is by incorporating interactive elements like an image carousel that displays directly in the Gmail Inbox.
In this SFMC.Essentials blog post, we'll guide you through creating an image carousel for Gmail Inbox in Salesforce Marketing Cloud.
Step 1: Understand Gmail's Promotion Tab requirements before diving into the code
It's crucial to understand that Gmail Inbox's image carousel feature is only available in the Promotions tab. To leverage this feature, you need to include the necessary schema markup in your email code.
Step 2: Implement the Schema Markup Gmail uses JSON-LD schema markup to recognize and display the image carousel in the Promotions tab
To implement the schema markup, add the following code to the head section of your HTML email:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "PromotionCard",
"name": "Your Promotion Name",
"image": [
"https://example.com/image1.jpg",
"https://example.com/image2.jpg",
"https://example.com/image3.jpg"
],
"description": "A brief description of your promotion",
"offers": {
"@type": "Offer",
"url": "https://example.com/offer-page"
}
}
</script>
Replace the placeholders with your promotion details, image URLs, and offer page link.
Step 3: Optimize the images
Ensure your images are optimized for email and adhere to Gmail's requirements:
Use JPEG or PNG format
Maximum width: 580px
Maximum height: 400px
Maximum file size: 50KB
Step 4: Test, Test, Tes!!!!
Test your email before sending your email, test it across various devices and Gmail accounts to ensure the image carousel displays correctly in the Promotions tab.
Keep in mind that this feature might not be available for all Gmail users or in all regions.
Conclusion
Creating an image carousel in Gmail Inbox can significantly enhance your email's visual appeal and user experience. By following the steps outlined in this SFMC.Essentials guide, you'll be on your way to crafting more engaging emails that drive results. Happy carousel building!
Congrats, you now have the knowledge how to create an Image Carousel for Gmail
Finding yourself needed some extra pair of brains? Have a quick video-call with one of the SFMC.Essentials fixers
SFMC.Essential events to inspire and share SFMC knowledge, want to join?
Commentaires