Gmail Inbox View Action - "Requires url field value."

I am trying to get the correct markup for incoming Gmail to reset my password. I am using Email Markup Tester .

My markup is as follows:

<div itemscope itemtype="http://schema.org/EmailMessage">
  <meta itemprop="description" content="Reset password instructions"/>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/ViewAction">
    <meta itemprop="target" content="https://www.example.com/users/password/new?token=123"/>
    <meta itemprop="name" content="Reset Your Password"/>
  </div>
  <meta itemprop="description" content="Visit our site to reset your password."/>
</div>

The above markup returns an error:

The value of the url field is required.

But I can’t understand how this field urlshould be inserted into the markup. Even the Google Example does not validate the markup validator.

+4
source share
1 answer

( , , , .)

url target. , link ( meta), URL-.

, :

<link itemprop="target url" href="https://www.example.com/users/password/new?token=123" />

Google.

+2

Source: https://habr.com/ru/post/1650190/


All Articles