概览
利用 schema.org 充分发挥电子邮件的强大功能
电子邮件是我们处理事务的重要工具。无论您是想与好友一起策划活动,还是要安排一次巴黎商务旅行,都可能会使用电子邮件来协助完成任务。通过在发送给用户的电子邮件中添加 schema.org 标记,您可以让用户在其 Google 体验中获取这些信息,并让用户轻松执行快速操作,例如办理机票登机手续。Gmail、Google 日历、Google 搜索和 Google 应用都已在使用这种结构化数据。
Schema.org 是一种标记术语,由 Google 和其他公司联合标准化和管理。通过与 schema.org 合作,我们正在制定一项开放标准,以便接收您嵌入的标记的任何电子邮件产品都可以使用这些标记。
请观看视频,了解更多动机和类似示例,了解为何应考虑为应用使用电子邮件标记。
Gmail 操作
Gmail 使用 schema.org 标记来加快用户操作速度,并突出显示用户从电子邮件中需要的最重要的信息。
Gmail 支持以下类型的操作和互动卡片:
Gmail 重要信息
Gmail 使用相同的 schema.org 标记来突出显示电子邮件中最重要的信息,并允许用户根据这些信息采取行动。
“推广”标签页可将电子邮件中最具价值的信息呈现在用户指尖。下面是一些精选内容:
- 系统会使用机器学习技术将最具价值的电子邮件置于顶部。
- 套装有助于整理热门特惠和主题。
- 图片预览可展示消息中最具活力的部分。
- 特惠徽章用于突出显示即将过期和超值的特惠。
丰富的电子邮件预览可以提高客户互动度。通过在电子邮件中为图片、到期日期和特惠添加注释,控制哪些内容会以富媒体形式预览。
如需了解详情,请参阅 Gmail“推广”标签页。
Google 搜索中的回答
Google 搜索正在从提供搜索结果转变为回答问题。借助语音搜索和自然语言查询,用户可以口述或输入问题,并在 Google 搜索中查看高度结构化的信息卡片。
通过标记电子邮件,您可以帮助用户更快地在 Google 上找到自己的信息。
如需了解详情,请参阅 Google 搜索中的回答。
确认卡
借助确认卡片,在适当的时机为用户提供所需信息。例如,Google 应用可以为您显示前往下一活动的路线、即将出发的航班的登机牌、酒店的退房时间等。
通过为电子邮件添加标记,您可以向 Google 提供必要的信息,以便 Google 实现此功能。
如需了解详情,请参阅确认卡。
Google 日历
借助“来自 Gmail 的活动”,Google 日历可从预订确认电子邮件中提取活动(例如航班、音乐会、餐厅预订或任何其他需要票券的活动),并自动将其添加到日历中。
Google 日历支持以下 4 种标记类型:
通过在电子邮件中添加标记,您可以将活动自动添加到用户的日历中,并附上所有重要信息。
如需了解详情,请参阅 Google 日历中自动添加的活动。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-22。
[null,null,["最后更新时间 (UTC):2024-12-22。"],[[["Leverage schema.org markup in emails to enhance user experience across Google products like Gmail, Search, and Calendar."],["Gmail utilizes schema.org for actions (one-click, go-to), interactive cards (flights), and highlighting key information (orders, events, reservations)."],["Google Search leverages email markup to provide direct answers and information cards in response to user queries."],["Confirmation cards in the Google app display relevant information extracted from emails, such as event directions and boarding passes."],["Google Calendar automatically adds events from marked-up emails, including flights, concerts, and restaurant reservations."]]],["Schema.org markup in emails enhances user experience across Google platforms. This markup enables Gmail to highlight key information and create actionable items like one-click or go-to actions, and interactive cards for flights. It also allows for highlights on buses, car rentals, events, orders, hotels, invoices, restaurants, and trains. Furthermore, schema markup facilitates rich previews in the Gmail Promotions tab, enables answers in Google Search, creates confirmation cards in the Google app, and automatically adds events to Google Calendar.\n"]]