Hello we followed these instructions but getting a Marketo error: Marketo does not allow javascript or script tags in email HTML
Please refresh your browser.
We added this script under the <head>
<script type="application/ld+json">
{{my.googleannotation}}
</script>
The token:
[
{
"@context": "http://schema.org/",
"@type": "PromotionCard",
"image": "https://info.ticketinformationcs.com/rs/525-SZF-856/images/hrl-adl-23-1-1.10-image3-290px.png",
"url": "https://homelottery.com.au/grand-prize/"
},
{
"@context": "http://schema.org/",
"@type": "PromotionCard",
"image": "https://info.ticketinformationcs.com/rs/525-SZF-856/images/hrl-adl-23-1-1.10-image3-290px.png",
"url": "https://homelottery.com.au/"
},
]
What are we doing wrong? it sounds like it does work for others. Appreciate any help, thanks in advance!
Thanks for the swift reply Sanford!
Does that mean we should have everything in the token itself?
So this would all be in the email script token:
<script type="application/ld+json">
[
{
"@context": "http://schema.org/",
"@type": "PromotionCard",
"image": "https://info.ticketinformationcs.com/rs/525-SZF-856/images/hrl-adl-23-1-1.10-image3-290px.png",
"url": "https://homelottery.com.au/grand-prize/"
},
{
"@context": "http://schema.org/",
"@type": "PromotionCard",
"image": "https://info.ticketinformationcs.com/rs/525-SZF-856/images/hrl-adl-23-1-1.10-image3-290px.png",
"url": "https://homelottery.com.au/"
},
]
</script>
And then in the email template, I'd just insert the token under the <head>
<head>
{{my.googleannotation}}
</head>
And no unfortunately we won't be at the summit this year after all! Will you be attending? Would have been great to meet up.