OG Facebook Goals: Doubt

Asked

Viewed 56 times

1

Whenever I use OG goals for Facebook sharing, I insert them in the header and hide the current site description and title goals.

The doubt is as follows: the OG goals need to be in the site header? Is there a problem if they are inside the page inside the body tag? Has anyone ever tested it?

1 answer

1


Opá ! The meta tags were created to be used in the HTML header (header), as they and all header content are invisible to the end user. Inserting them into the body, in addition to not adding to anything in the user experience, also breaks the rules given by W3C.

Whether it’s Facebook or not, they’re still meta tags, so make them look pretty instantiated in the HTML header.

Vide: W3C School

Browser other questions tagged

You are not signed in. Login or sign up in order to post.