Resources

嵌入快速操作

在开展业务运营的过程中,您可能需要出于各种目的向用户发送自动电子邮件,例如确认订阅、申请评级、提供评论、活动门票确认、活动预订等等。为确保您的用户可以对列表中的电子邮件进行跟进,您可以在电子邮件中嵌入“快速操作”。

Schema.org 是一个协作社区,致力于创建结构化数据标记架构并在互联网上推广。Zoho Mail 能够识别 schema.org 定义的格式,此标记在电子邮件列表中将呈现为“快速操作”。要在所发送的电子邮件中添加快速操作,您可以在电子邮件的 HTML 内容中添加微数据或 JSON-LD 标记(由 schema.org 定义)。

Zoho Mail 识别快速操作的过程

要将这些快速操作嵌入到您发送的电子邮件中,需要检查两点。

  • 您发送的电子邮件中应包含以微数据或 JSON-LD 格式嵌入的特定脚本。
  • 您用来发送这些电子邮件的域应当已经在我们的已识别域列表中注册。

用于嵌入快速操作的格式 

要将“快速操作”嵌入到您发送的电子邮件中,您必须在该电子邮件中嵌入脚本。Zoho Mail 支持在电子邮件标记中使用 JSON-LD 和微数据两种格式。

微数据

微数据是一种标记语言,用于描述和突出显示电子邮件的特定部分。每个标记都会包含相关联的属性。微数据格式使用的三个基本属性包括 itemtypeitempropitemscope

Itemscope - 在 div 标记中使用此属性,表示此 div 标记中包含的所有信息都属于单个实体。

Itemtype - 使用 itemtype 属性时,表示该范围内的所有元素都属于所提及的类。您可以将此属性设置为 schema.org 类下的任何可用类。 

Itemprop - 针对作为 itemtype 提及的类,可通过此属性提供额外的信息。

JSON-LD

JSON-LD 是一种基于 JSON(另一种常用标记语言)的语法。在 JSON-LD 格式中,@context 设置为 http://schema.org,@type 设置为 schema.org 类下的任何可用类,该类的属性在脚本中定义。 

文本标记语法

保存操作

当发送的电子邮件中包含餐厅优惠券/优惠信息并需要保存下来时,可以在电子邮件中添加“保存操作”按钮。此操作只能在电子邮件列表中执行一次。 

请将下面的 JSON-LD 或微数据语法嵌入到电子邮件的 HTML 正文中,以便 Zoho Mail 能够识别“保存操作”按钮并将该按钮添加到您的电子邮件中。

JSON-LD

<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "SaveAction",
"name": "Save Coupon",
"handler": {
"@type": "HttpActionHandler",
"url": "https://nearbuy.com/save?offerId=hse237"
}
},
"description":  “10% off at The Fat Duck"
}
</script>

微数据

<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/SaveAction">
<meta itemprop="name" content="Save Coupon"/>
<div itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler">
<link itemprop="url" href="https://nearbuy.com/save?offerId=hse237"/>
</div>
</div>
<meta itemprop="description" content="10% off at The Fat Duck”/>
</div> 

确认操作

当需要用户确认其订阅特定的服务或网站时,可以在电子邮件中添加“确认操作”按钮。 

请将下面的 JSON-LD 或微数据语法嵌入到电子邮件的 HTML 正文中,以便 Zoho Mail 能够识别“确认操作”按钮并将该按钮添加到您的电子邮件中。

JSON-LD

<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ConfirmAction",
"name":  “Confirm Subscription",
"handler": {
"@type": "HttpActionHandler",
"url": "https://nigella.com/confirm?subscriptionId=567qwe"
}
},
"description":  “Confirm your subscription to Nigella Lawson’s Newsletter"
}
</script>

微数据

<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/ConfirmAction">
<meta itemprop="name" content=“Confirm Subscription"/>
<div itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler">
<link itemprop="url" href="https://nigella.com/confirm?subscriptionId=567qwe"/>   
</div>
</div>
<meta itemprop="description" content="Confirm your subscription to Nigella Lawson’s Newsletter"/>
</div> 

查看操作

当您需要将用户重定向到其他网页以查看某些内容时,可以在电子邮件中添加“查看操作”按钮。这在电子商务网站发送的订单确认电子邮件中十分常见。这些电子邮件中通常会包含一个选项,便于您从邮件中查看订单列表。该示例提供了一个“查看操作”类型的完美示例。 

请将下面的 JSON-LD 或微数据语法嵌入到电子邮件的 HTML 正文中,以便 Zoho Mail 能够识别“查看操作”按钮并将该按钮添加到您的电子邮件中。

JSON-LD

<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage", 
"potentialAction": {   
"@type": "ViewAction",   
"target": "https://www.saltychocolate.com/gp/ref=nav_youraccount_orders",   
"name":  “View Order" 
}, 
"description":  “View Order Details and Tracking Information"
}
</script> 

微数据

<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/ViewAction">   
<link itemprop="target" href="https://www.saltychocolate.com/gp/ref=nav_youraccount_orders"/>  
<meta itemprop="name" content="View Order"/>
</div>
<meta itemprop="description" content="View Order Details and Tracking Information"/>
</div>  

跟踪操作

当您希望用户跟踪所下达的订单或预计接收的包裹时,可以在发送的电子邮件中添加“跟踪操作”按钮。

请将下面的 JSON-LD 或微数据语法嵌入到电子邮件的 HTML 正文中,以便 Zoho Mail 能够识别“跟踪操作”按钮并将该按钮添加到您的电子邮件中。

JSON-LD

<script type="application/ld+json">
{
"@context": "http://schema.org", 
"@type": "ParcelDelivery", 
"deliveryAddress": {   
"@type": "PostalAddress",   
"streetAddress": "42 Shirley Ave.",   
"addressLocality":  “West Chicago",   
"addressRegion":  “CA",   
"addressCountry”:  “US",   
"postalCode":  “60185"  
}, 
"expectedArrivalUntil": "2017-03-12T12:00:00-08:00", 
"carrier": {   
"@type": "Organization",   
"name":  “DHL" 
}, 
"itemShipped": {  
"@type": "Product",   
"name": “Dark Chocolate Syrup" 
},
"partOfOrder": {   
"@type": "Order",   
"orderNumber": “127963",   
"merchant": {     
"@type": "Organization",     
"name": “Rebecca Anderson"

}, 
"trackingUrl": "https://dhl.com/track/645287829
"potentialAction": {   
"@type": "TrackAction",   
"target": "https://dhl.com/track/645287829
},
}
</script>

微数据

<div itemscope itemtype="http://schema.org/ParcelDelivery">
<div itemprop="deliveryAddress" itemscope itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="42 Shirley Ave."/>
<meta itemprop="addressLocality" content=“West Chicago"/>
<meta itemprop="addressRegion" content=“IL"/>
<meta itemprop="addressCountry" content="US"/>
<meta itemprop="postalCode" content="60185"/>
</div>
<meta itemprop="expectedArrivalUntil" content="2017-03-12T12:00:00-08:00"/>
<div itemprop="carrier" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content=“DHL"/>
</div>
<div itemprop="itemShipped" itemscope itemtype="http://schema.org/Product">
<meta itemprop="name" content=“Dark Chocolate Syrup"/>
</div>
<div itemprop="partOfOrder" itemscope itemtype="http://schema.org/Order">
<meta itemprop="orderNumber" content="127963"/>
<div itemprop="merchant" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content=“Rebecca Anderson"/>
</div>
</div>
<link itemprop="trackingUrl" href="https://dhl.com/track/645287829"/>
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/TrackAction">
<link itemprop="target" href="https://dhl.com/track/645287829"/>
</div>
</div> 

RSVP 操作

假设您收到了一封邀请您参加某活动的电子邮件。该电子邮件的基本 HTML 内容将包含活动日期和时间、举办地点、参加人员、主持人等信息。此外,它还会询问您是否同意参加活动。所有活动邀请通常都有 3 个选项:“是”、“否”和“暂时不确定”。在这种情况下,您可以通过插入脚本来将 RSVP 快速操作嵌入到电子邮件列表中。单击此选项后,将显示简短的活动摘要以及三个选项。

请将下面的 JSON-LD 或微数据语法嵌入到电子邮件的 HTML 正文中,以便 Zoho Mail 能够识别“查看操作”按钮并将该按钮添加到您的电子邮件中。

JSON-LD

<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Event",
"name": “Marketers Monthly Meet",
"startDate": “2017-10-08T15:30",
"endDate": “2027-10-08T16:30", 
"location": {   
"@type": "Place",   
"address": {     
"@type": "PostalAddress",     
"name": “Zylker Inc.",     
"streetAddress": "24 Goldfield Avenue, Knit Conference Room",     
"addressLocality": "South Windsor",     
"addressRegion": "CT",
"postalCode": “06074",     
"addressCountry": "USA"   

}, 
"potentialAction": [   
{     
"@type": "RsvpAction",     
"rsvpResponse": "yes",     
"handler": {       
"@type": "HttpActionHandler",       
"url": "https://sitename.com/rsvp?eventId=123value=yes"     
},     
"attendance": "http://schema.org/RsvpAttendance/Yes"   
},   
{
"@type": "RsvpAction",
"rsvpResponse": "no",     
"handler": {       
"@type": "HttpActionHandler",       
"url": "https://sitename.com/rsvp?eventId=123value=no"     
},     
"attendance": "http://schema.org/RsvpAttendance/No"   
},   
{     
"@type": "RsvpAction",     
"rsvpResponse": "maybe",     
"handler": {       
"@type": "HttpActionHandler",       
"url": "https://sitename.com/rsvp?eventId=123value=maybe"     
},     
"attendance": "http://schema.org/RsvpAttendance/Maybe"   

]
}
</script>

同样,您也可以在发送电子邮件时在 HTML 内容正文中插入微数据脚本。 

微数据

<div itemscope itemtype="http://schema.org/Event">
<meta itemprop="name" content=“Marketers Monthly Meet"/>
<meta itemprop="startDate" content="2017-10-08T15:30"/> 
<meta itemprop="endDate" content="2017-10-08T16:30"/> 
<div itemprop="location" itemscope itemtype="http://schema.org/Place">   
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">     
<meta itemprop="name" content=“Zylker Inc."/>
<meta itemprop="streetAddress" content="24 Goldfield Avenue, Knit Conference Room"/>
<meta itemprop="addressLocality" content="South Windsor"/>
<meta itemprop="addressRegion" content="CT"/>
<meta itemprop="postalCode" content=“06074"/>
<meta itemprop="addressCountry" content="USA"/>
</div>
</div>
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/RsvpAction">
<div itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler">
<link itemprop="url" href="https://sitename.com/rsvp?eventId=123value=yes"/>
</div>
<link itemprop="attendance" href="http://schema.org/RsvpAttendance/Yes"/>
<meta itemprop="rsvpResponse" content="yes">
</div>
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/RsvpAction">
<div itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler">
<link itemprop="url" href="https://sitename.com/rsvp?eventId=123value=no"/>
</div>
<link itemprop="attendance" href="http://schema.org/RsvpAttendance/No"/>
<meta itemprop="rsvpResponse" content="no">
</div>
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/RsvpAction">
<div itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler">
<link itemprop="url" href="https://sitename.com/rsvp?eventId=123value=maybe"/>
</div>
<link itemprop="attendance" href="http://schema.org/RsvpAttendance/Maybe"/>
<meta itemprop="rsvpResponse" content="maybe">
</div>
</div> 

评级和评论

当您到餐厅用餐、入住酒店或度假村后,经常会收到对方发送的电子邮件,请您给他们的服务评级或提供相关反馈。在发送此类电子邮件时,您可以通过嵌入脚本来在电子邮件中添加请给我们评级评论快速操作。 

数字评级

通过此选项,您可以在单击请给我们评级按钮后输入给该餐厅的数字评级。 

请将下面的 JSON-LD 或微数据语法嵌入到电子邮件的 HTML 正文中,以便 Zoho Mail 能够识别“请给我们评级”按钮并将该按钮添加到您的电子邮件中。

JSON-LD

<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ReviewAction",
"review": {
"@type": "Review",
"itemReviewed": {
"@type": "FoodEstablishment",
"name":  “The Fat Duck"   
},
"reviewRating": {      
"@type": "Rating",
"bestRating": "5",
"worstRating": "1"     
}
},   
"handler": {    
"@type": "HttpActionHandler",
"url": "https://thefatduck.com/review?id=abc123",
"requiredProperty": {
"@type": "Property",
"name": "review.reviewRating.ratingValue"
},
"method": "http://schema.org/HttpRequestMethod/POST"  
}
},
"description":  “We hope you had an amazing time dining with us. Please rate your experience here."
}
</script>

微数据

<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/ReviewAction">
<div itemprop="review" itemscope itemtype="http://schema.org/Review">
<div itemprop="itemReviewed" itemscope itemtype="http://schema.org/FoodEstablishment”>
<meta itemprop="name" content=“The Fat Duck”/>
</div>
<div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="bestRating" content="5”/>
<meta itemprop="worstRating" content="1”/>
</div>
</div>
<div itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler">
<link itemprop="url" href="https://thefatduck.com/review?id=abc123"/>
<div itemprop="requiredProperty" itemscope itemtype="http://schema.org/Property">
<meta itemprop="name" content="review.reviewRating.ratingValue"/>
</div>
<link itemprop="method" href="http://schema.org/HttpRequestMethod/POST"/>
</div>
</div>
<meta itemprop="description" content="We hope you had an amazing time dining with us. Please rate your experience here."/>
</div> 

评论文本

当您想要通过发送的电子邮件获得用户评论和评级时,可以在电子邮件列表中嵌入评论快速操作。

请将下面的 JSON-LD 或微数据语法嵌入到电子邮件的 HTML 正文中,以便 Zoho Mail 能够识别“评论”按钮并将该按钮添加到您的电子邮件中。

JSON-LD

<script type="application/ld+json">
{
"@context": "http://schema.org”,
"@type": "EmailMessage",
"potentialAction": {
"@type": "ReviewAction",
"review": {
"@type": "Review",
"itemReviewed": {
"@type": "FoodEstablishment",
"name": “The Fat Duck"
},
"reviewRating": {
"@type": "Rating",
"bestRating": "5",
"worstRating": "1"
}
},
"handler": {
"@type": "HttpActionHandler",
"url": "https://thefatduck.com/review?id=abc123",
"requiredProperty": {
"@type": "Property",
"name": "review.reviewRating.ratingValue"
},
"optionalProperty": {
"@type": "Property",
"name": "review.reviewBody"
},
"method": "http://schema.org/HttpRequestMethod/POST
}
},
"description": “We hope you enjoyed your seafood experience with The Fat Duck. Tell us more about it"
}
</script>

微数据

<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/ReviewAction">
<div itemprop="review" itemscope itemtype="http://schema.org/Review">
<div itemprop="itemReviewed" itemscope itemtype="http://schema.org/FoodEstablishment">
<meta itemprop="name" content=“The Fat Duck"/>
</div>
<div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="bestRating" content="5"/>
<meta itemprop="worstRating" content="1”/>
</div>
</div>
<div itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler">
<link itemprop="url" href="https://thefatduck.com/review?id=abc123"/>
<div itemprop="requiredProperty" itemscope itemtype="http://schema.org/Property">
<meta itemprop="name" content="review.reviewRating.ratingValue"/>
</div>
<div itemprop="optionalProperty" itemscope itemtype="http://schema.org/Property">
<meta itemprop="name" content="review.reviewBody"/>
</div>
<link itemprop="method" href="http://schema.org/HttpRequestMethod/POST”/>
</div>
</div>
<meta itemprop="description" content="We hope you enjoyed your seafood experience with The Fat Duck. Tell us more about it”/>
</div> 

用于嵌入快速操作的注册表单:

为了让 Zoho Mail 能够识别您嵌入在电子邮件中的架构,并确保用来发送电子邮件的域有效,您必须向我们注册该域。请填写并提交下方表格,以向我们注册,确保 Zoho Mail 能够识别您的电子邮件片段。域注册过程将在域审核完成后结束。如果有任何其他信息需要进一步澄清,我们会联系发送注册请求的机构。

注意:

  • 建议您使用“查看操作”和“跟踪操作”选项,不要使用“保存操作”和“确认操作”。
  • 如果您正使用“保存操作”和“确认操作”,则发件人应负责身份验证部分。

Share this post : FacebookTwitter

还是没有找到您要寻找的内容?

写信给我们 support@zohocorp.com.cn