Hi everyone
I tried to add this code to our double opt in confirmation email:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"url": "(redacted)",
"name": "Confirm subscription"
},
"description": "Confirm your subscription to G Adventures. Without this confirmation, you won't be subscribed to our email newsletter."
}
</script>
I placed it just before the </body> tag as per this article: How to Use Gmail Actions in Your Email Program | SendGrid . But when I tried to approve the email, I got the error "Marketo does not allow javascript or scripts in email" or something similar to that. Is there something I've missed in the thread above? Justin Cooperman, any ideas?
Thanks!