Gmail的快速按钮实现
如何在电子邮件模板上实现gmail的快速操作按钮? 我的目标基本上是只关注拥有gmail帐户的用户。Gmail的快速按钮实现,gmail,Gmail,如何在电子邮件模板上实现gmail的快速操作按钮? 我的目标基本上是只关注拥有gmail帐户的用户。 我看到了关于gmail快速操作按钮的新闻,我想知道如何实现这些按钮,这样gmail上的时事通讯/电子邮件就会出现快速操作按钮。这肯定会增加用户在发送电子邮件时的转化率 我在这里找到了解决方案:。似乎只需要在电子邮件模板中添加JSON-LD标记: <script type="application/ld+json"> { "@context": "schema.org", "@
我看到了关于gmail快速操作按钮的新闻,我想知道如何实现这些按钮,这样gmail上的时事通讯/电子邮件就会出现快速操作按钮。这肯定会增加用户在发送电子邮件时的转化率 我在这里找到了解决方案:。似乎只需要在电子邮件模板中添加JSON-LD标记:
<script type="application/ld+json">
{
"@context": "schema.org",
"@type": "Movie",
"name": "The Internship",
... information about the movie ...
"action": {
"@type": "ConfirmAction",
"name": "Add to queue",
"actionHandler": {
"@type": "HttpActionHandler",
"url": "https://my-movies.com/add?movieId=123",
"method": "POST",
}
}
}
</script>
我在这里找到了解决方案:。似乎只需要在电子邮件模板中添加JSON-LD标记:
<script type="application/ld+json">
{
"@context": "schema.org",
"@type": "Movie",
"name": "The Internship",
... information about the movie ...
"action": {
"@type": "ConfirmAction",
"name": "Add to queue",
"actionHandler": {
"@type": "HttpActionHandler",
"url": "https://my-movies.com/add?movieId=123",
"method": "POST",
}
}
}
</script>