从电子邮件中导入活动门票和电影票
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
作为开发者或商家,将 Google 钱包与票务预订系统集成,可以验证所有活动和电影票信息是否可供访问,从而显著提升客户体验。
背景
通过将 Google 钱包与票务预订系统集成,您可以验证所有活动和电影票信息是否可供访问,从而显著提升客户体验。Google 钱包与 Gmail 集成后,系统可以为收到符合条件的电子邮件的用户自动创建数字卡券。
实现这种无缝集成的关键是在电子邮件正文中包含所有相关信息。本文档提供了必要的信息,您需要在下一封电子邮件 / CRM 营销活动中向用户提供这些信息,以便在 Google 钱包中自动生成活动门票卡券。
Gmail 导入的卡券功能是一种轻量级机制,可将用户的活动门票数字化到 Google 钱包中。系统会自动从电子邮件内容中提取信息,从而最大限度地减少用户摩擦并提高采用率。
此解决方案旨在与现有的 Google 钱包 API 产品互补。Gmail 导入的卡券可为用户提供最基本的信息:
Gmail 导入的卡券 |
Google Wallet API 集成 |
- 用户信息:
- 活动信息:
- 确认号
- 活动开始时间
- 活动结束时间
- 位置
- 事件名称
- 座位 #
- 二维码
|
- Gmail 中导入的卡券中的所有用户信息
- 推送通知中反映了最新变化
- 推送通知
- 自动关联的卡券
- 通行证增值机会
- 还有更多
|
我们的目标是提高数字卡券的采用率并对其进行补充,同时为尚未点击“添加到 Google 钱包”按钮的用户提供从您发送给他们的电子邮件中自动生成的活动门票。
工作方式
当用户收到来自您网域的电子邮件(例如活动门票确认电子邮件)时,Gmail 可以智能地检测电子邮件正文中的关键字段,并在 Google 钱包中创建活动门票卡券。
必填字段(纯文本)
如需启用自动检测,请在电子邮件正文中明确包含以下字段:
- 确认号码
- 活动名称(例如“音乐节音乐会”)
- 活动开始日期和时间
- 地点或场地
- 区域和座位号(仅在需要指定座位时)
- 入场二维码 / 条形码
注意:我们仅支持包含二维码和条形码条目的活动
选填字段
您还可以添加以下字段来提升用户体验:
- 用户名(例如“John Doe”)
- 活动结束日期和时间
以下是电子邮件示例(例如活动门票确认电子邮件)
| 主题:订单确认 RE1234567 - 2025 年活动
正文:
您好,Blaine!
您已成功报名!感谢您在 Ticketportal(全球最大的票务平台)上购买门票!
订单编号:RE1234567
您的订单确认
2025 年活动 新加坡室内体育馆 2025 年 3 月 15 日星期六 13:00
礼堂: 1
座位 1A
门票数量:1
限制:仅限 18 周岁以上人士凭附照片的身份证件入场。无身份证件/无门票 / 无退款。
活动门票二维码

需要帮助? 如果您有任何疑问,请访问我们的客户服务页面,查找相关解答。
此致 票务交易平台
|
|
以下是 Google 钱包中相关的活动门票卡

加入 Google 钱包
1. 精心策划电子邮件宣传活动:设计电子邮件宣传活动并向用户群发送,确保电子邮件正文中清晰显示“运作方式”部分中提及的生成卡券所需的所有必要信息。
2. 将实际的电子邮件示例转发到我们的专用地址 parser-sample+wallet_partner_events@google.com
- 如果电子邮件模板有任何更新,请转发到同一地址,以便我们确保 Gmail 检测到最新的模板
- 确保原始发件人是您广告系列中电子邮件的实际发件人
3. 收到您的电子邮件模板示例后,我们的团队会审核并配置解析逻辑。我们会在五个工作日内成功为所提交的电子邮件模板推出此功能。
注意:我们可能会使用您发送的电子邮件地址与您联系。确保您用于向我们转发示例的电子邮件地址可以接收来信。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[],[],null,["# Import event and cinema tickets from emails\n\nAs a developer or merchant, integrating Google Wallet with your ticket reservation systems can significantly enhance the customer experience by verifying that all event and cinema ticket information is accessible.\n\n\u003cbr /\u003e\n\nBackground\n----------\n\nIntegrating Google Wallet with your ticket reservation systems can significantly\nenhance the customer experience by verifying that all event and cinema ticket\ninformation is accessible. Google Wallet's integration with Gmail allows for the\nautomatic creation of digital passes for users who receive eligible email\nmessages.\n\nKey to achieving this seamless integration is including all relevant information\nin the email body. This documentation provides the necessary information that is\nneeded to be included in your next email / CRM campaign to your users in order\nto auto-generate event ticket passes on Wallet.\n\nImport event ticket information from emails to improve your Google Wallet integration\n-------------------------------------------------------------------------------------\n\nOur Gmail Imported Pass feature serves as a lightweight mechanism to digitize\nusers event tickets on to Google Wallet. Information is automatically\nextracted from the email content, minimizing user friction and increasing\nadoption rates.\n\nThis solution is designed to work complementary to the existing Google Wallet\nAPI product. Gmail imported passes provide the most basic information for users:\n\n| Gmail Imported Pass | Google Wallet API Integration |\n|------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| - User Information: - User Name - Event Information: - Confirmation # - Event Start Time - Event End Time - Location - Event Name - Seat # - QR Code | - All User information in Gmail Imported Pass - Most uptodate changes reflected push notifications - Push notifications - Auto-Linked Passes - Passes Value Added Opportunities - And More |\n\nOur goal is for us to increase and complement the adoption of digital pass and\nequip users who have not clicked the \"Add to Google Wallet\" button an automated\nevent ticket generated from the emails you send to them.\n\nHow It Works\n------------\n\nWhen a user receives an email from your domain, such as an event ticket\nconfirmation email, Gmail can intelligently detect key fields in the email body\nand create an event ticket pass in Google Wallet.\n\n**Required Fields (in plain text)**\n\nTo enable automatic detection, include the following fields clearly in the email\nbody:\n\n1. Confirmation Number\n2. Event name (for example, \"Festival Concert\")\n3. Event Start Date and Time\n4. Location or Venue\n5. Section and Seat # (only if required seating)\n6. QR Code / Barcode for Entry\n\n*Note:* we only support events where QR and Barcode entry is present\n\n**Optional Fields**\n\nYou can also include these fields to enhance the user experience:\n\n1. User Name (for example, \"John Doe\")\n2. Event End Date and Time\n\n**Here is an example email (e.g. Event Ticket Confirmation)**\n\n| |---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | | **Subject:** Order Confirmation RE1234567 - EVENT 2025 **Body:** Hi Blaine, You're in! Thank you for buying your tickets on Ticketportal the world's biggest ticket marketplace! Order Number: RE1234567 **YOUR ORDER CONFIRMATION** EVENT 2025 Singapore Indoor Stadium Saturday 15 March 2025 13:00 Auditorium: 1 Seat 1A Ticket Quantity: 1 Restrictions: OVER 18 YEARS ONLY WITH PHOTO I.D. WILL BE ADMITTED. NO I.D. / NO ENTRY / NO REFUND. **Event Entry QR** \u003cbr /\u003e Need help? If you have any questions for us, find answers on our Customer Service page. Regards, Ticket Marketplace | |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n\n**Here is the related Event Ticket card in Google Wallet**\n\nOnboard to Wallet\n-----------------\n\n1. Craft Your Email Campaign: Design and send your email campaigns to your user\nbase, making sure that all necessary information for pass generation mentioned\nin the \"How It Works\" Section is clearly present within the email body.\n\n2. Forward an actual sample email to our dedicated\n[parser-sample+wallet_partner_events@google.com](mailto:parser-sample+wallet_partner_events@google.com)\n\n- For any updates to the email templates, forward to the same address so we can make sure Gmail detects the latest templates\n- Make sure that the original sender is the actual sender of the email from your campaigns\n\n3. Upon receipt of your sample email template, our team will review and\nconfigure the parsing logic. You can expect the feature to be successfully\nrolled out for your submitted email template within five (5) working days.\n\n*Note:* We may reach out to you using the email you sent. Make sure that the\nemail you use to forward the sample with us can receive incoming messages."]]