添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
小胡子的眼镜  ·  Email notification ...·  1 月前    · 
逼格高的感冒药  ·  endlessplay.tumblr.com ...·  1 月前    · 
869615314  ·  真实绿帽奴的心路历程- Tumbex·  1 月前    · 
酒量小的登山鞋  ·  Node.js Express 获取 ...·  2 周前    · 
卖萌的葡萄酒  ·  ‪Simon J.D. Prince‬ - ...·  3 天前    · 
酒量小的投影仪  ·  multipart response: ...·  6 月前    · 
会开车的西装  ·  Solved: ...·  6 月前    · 
调皮的草稿纸  ·  Error response from ...·  7 月前    · 
Hi!

I'm trying to add Gmail Annotation into a token via email script and haven't had much luck finding any examples.


I've added this script and token to the <head> of my email template, but I don't know what to add to the Email Script Token.

Sanford W had mentioned a Velocity Token, which I have researched, but haven't found any documentation on.
https://nation.marketo.com/t5/product-discussions/has-anyone-been-successful-in-adding-gmail-annotat...

Can someone please assist?


Script added to the email template:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">

<script type="application/ld+json">

{{my.Gmail Annotation}}

</script>

</head>


Gmail Annotation script added to Email Script token which needs to be converted to Velocity Token:

"@context": " http://schema.org/ ",

"@type": "Organization",

"@name": "Bank Name",

"logo": " https://www.bank.com/images/app-fcb-logo.jpg "

I'm looking for examples. If there's another way to add, perhaps in a snippet?
Any help is greatly appreciated.

Marketo Email Scripting - https://developers.marketo.com/email-scripting/
More on Gmail Annotation: https://www.naomiwest.ca/journal/gmail-annotations-a-breakdown


AFAICT, all the annotation content w/o the <script type="application/ld+json" > </script> tag should go in the email script token, which then is referenced in the email template within the script tag as per below -

<script type="application/ld+json"> {{my.Annotation Content}} //email script token with Gmail Annotation </script> </head>

You can reference this google doc on creating annotations. There are other annotations builder platforms as well, where you can add the content to a visual format and the configurator then generates the annotation code.

  • Add token {{my.Gmail Annotation}} before </head> in the email template.
  • Create {{my.Gmail Annotation} Email Script token in program and add all Gmail Annotation script
  • Test in Gmail


  • AFAICT, all the annotation content w/o the <script type="application/ld+json" > </script> tag should go in the email script token, which then is referenced in the email template within the script tag as per below -

    <script type="application/ld+json"> {{my.Annotation Content}} //email script token with Gmail Annotation </script> </head>

    You can reference this google doc on creating annotations. There are other annotations builder platforms as well, where you can add the content to a visual format and the configurator then generates the annotation code.

  • Add token {{my.Gmail Annotation}} before </head> in the email template.
  • Create {{my.Gmail Annotation} Email Script token in program and add all Gmail Annotation script
  • Test in Gmail


  • Hi again!

    I thought this was working and I was wrong. The token is not locating the script.
    Would you mind taking a look?

    This is what I added to the <head> in the email template:

    <script type="application/ld+json">

    {{my.Gmail Annotation}}

    </script>


    This is the json I added to the token email script:

    [{
    "@context": " http://schema.org/ ",
    "@type": "Organization",
    "logo": " https://landing.firstcitizens.com/rs/296-CPX-295/images/app-fcb-logo.jpg "
    }]

    Can you see any errors?

    Thank you!

    Is your email asset created in a place in the Marketing Activities section that can reference the custom {{my.Gmail Annotation}} token? If the email is created in the design studio, then unless it is being sent by a smart campaign in Marketing Activities that can reference the token, it won't resolve on its own.

    This is what I added to the <head> in the email template:

    <script type="application/ld+json">

    {{my.Gmail Annotation}}

    </script>


    This is the json I added to the token email script:

    {
    "@context": " http://schema.org/ ",
    "@type": "Organization",
    "logo": " https://landing.firstcitizens.com/rs/296-CPX-295/images/app-fcb-logo.jpg "
    }

    I sent from a Smart Campaign. It took about a minute for the logo to show up in Gmail.