SOLVED

Gmail Schema Tags

Go to solution
Anonymous
Not applicable

Gmail Schema Tags

Has anyone had any luck adding the new Gmail schema code (https://developers.google.com/gmail/actions/reference/offer) to emails. It seems the code is getting stripped because it does not validate.

Cheers.
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Justin_Cooperm2
Level 10

Re: Gmail Schema Tags

It's not stripping it when I do that.

When you click "Show original" in gmail, you don't see the script present?

View solution in original post

10 REPLIES 10
Justin_Cooperm2
Level 10

Re: Gmail Schema Tags

Did you register with Google? Also looks like you'll need to have SPF/DKIM setup...

https://developers.google.com/gmail/actions/registering-with-google
Anonymous
Not applicable

Re: Gmail Schema Tags

Hi Justin, Thanks for the reply. Yes, we're all set with Google. If we send a test outside of Marketo, the data is good. Our issue is that the code never makes it to Gmail when we send from Marketo because it's stripped altogether. Thanks.
Justin_Cooperm2
Level 10

Re: Gmail Schema Tags

Did you paste the script in via Email Actions > HTML Tools > Replace HTML?

Seems to not strip it out when I test it that way...
Anonymous
Not applicable

Re: Gmail Schema Tags

Good idea. I see it leaves the script in tact upon saving the email, which is progress. But it looks like the script gets stripped when it gets sent, which makes sense since scripts can create security holes. I tried using the Microdata fromat which relies on div and link tags rather than script, but it looks like those are getting stripped too. I suspect the validator is at work there but I can't prove that. 🙂

Cheers.
Anonymous
Not applicable

Re: Gmail Schema Tags

Tried this when it first came out with no luck. Not sure if Marketo is working on this or not.
Justin_Cooperm2
Level 10

Re: Gmail Schema Tags

It's not stripping it when I do that.

When you click "Show original" in gmail, you don't see the script present?
Yoav_Guttman1
Level 4

Re: Gmail Schema Tags

Justin Cooperman​ - is there any step-by-step guide you have come across to add Google schema.org to Marketo emails?

Justin_Cooperm2
Level 10

Re: Gmail Schema Tags

It should work fine if you just paste the script into an email template in Marketo or to an individual email. This thread was pre-Email 2.0 and it shouldn't be stripping much anymore.

Justin

Anonymous
Not applicable

Re: Gmail Schema Tags

My mistake. It's there. Thank for checking on that.