Skip to content

Correct usage of mainEntityOfPage in Article type #3274

Answered by RichardWallis
uPagge asked this question in Q&A
Discussion options

You must be logged in to vote

Following the description of the property at schema.org/mainEntityOfPage, the associated background documentation, and json-ld example, the Ghost CMS developers are not correct.

The mainEntityOfPage property of an Article/BlogPosting should contain the url of the page (preferred page if it appears on more than one) it is displayed upon.

Having said that, reading your description, I do not think that the analytics developers have it quite correct either.

In the example you describe there are two things (entities) the Article/BlogPosting and the WebPage it is displayed upon. Ideally they should be described separately with the mainEntityOfPage property of the Article linking to the WebPage …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@uPagge
Comment options

Answer selected by uPagge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants