我目前正在运营电子商务商店。我想使用google actions&我的电子邮件中的评论,以便我可以从那里获得评论并提供一次点击操作。我是新手,发现这非常有用。任何人都可以帮助我们如何开始?有什么要求?是否有与SPF,DKIM,DMARC等有关的电子邮件相关要求?
我非常感谢这种支持
答案 0 :(得分:0)
我最近自己也遇到过类似的问题,因为我们希望提供Google即时中集成的货件跟踪信息以及我必须经历的jotted down the process。
由于您希望提供发布评论的功能,因此您的过程会有所不同(如此处所述:Review Action Email Markup - Google Developers)并需要后端来处理HTTP POST请求。
从我的博客中了解到我的追踪行动准备工作的历程:
- 根据Parcel Delivery action的Google Developer示例,在我们的电子邮件模板中实施微数据架构。 我们选择了基本选项以保持简单。 (见最终结果 在这个页面的下方)
- Validate the data。失败 验证。
- 意识到示例中的格式无效(根据谷歌自己的验证器)
- 调整标签并添加一个或两个丢失的标签。
- 再次验证。通过。
- 验证我们是否为发件人域设置了DKIM密钥。
- 从我们的客户服务电子邮件地址发送电子邮件到同一地址以验证按钮是否有效(它对其他收件人不起作用) 直到Gmail将您列入白名单
- 这次向Google发送另一封电子邮件。这是注册过程的一部分。
- Fill in the registration form 这样Google的员工就可以验证您的架构。
- 收到Google的回复,他们已将我的电子邮件转发给合适的人。
- ???
- 花了3个工作日(星期三到星期一)然后我收到了谷歌发来的电子邮件,说我们还活着。
醇>
我们使用Mandrill及其模板功能。模板最后在底部显示了这些元数据,其余的标记保持不变:
<body>
{{-- lots of tables for layout --}}
<div itemscope itemtype="http://schema.org/ParcelDelivery">
<div itemprop="deliveryAddress" itemscope itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="{{ deliveryAddressStreet }}"/>
<meta itemprop="addressLocality" content="{{ deliveryAddressCity }}"/>
<meta itemprop="addressRegion" content="{{ deliveryAddressCountry }}"/>
<meta itemprop="addressCountry" content="{{ deliveryAddressCountry }}"/>
<meta itemprop="postalCode" content="{{ deliveryAddressZip }}"/>
</div>
<meta itemprop="expectedArrivalUntil" content="{{ expectedDelivery }}"/>
<div itemprop="carrier" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="{{ carrier }}"/>
</div>
{{#each products}}
<div itemprop="itemShipped" itemscope itemtype="http://schema.org/Product">
<meta itemprop="name" content="{{ description }}"/>
</div>
{{/each}}
<div itemprop="partOfOrder" itemscope itemtype="http://schema.org/Order">
<meta itemprop="orderNumber" content="{{ ordernumber }}"/>
<div itemprop="merchant" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Our Store Name"/>
</div>
<link itemprop="orderStatus" href="http://schema.org/OrderInTransit"/>
</div>
<meta itemprop="trackingNumber" content="{{ shipmentTrackingNo }}"/>
<link itemprop="trackingUrl" href="{{ shipmentTrackingLink }}"/>
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/TrackAction">
<link itemprop="target" href="{{ shipmentTrackingLink }}"/>
<link itemprop="url" href="{{ shipmentTrackingLink }}"/>
<meta itemprop="name" content="Track shipment"/>
</div>
</div>
</body>