skip to Main Content

I am talking about the Open Graph tag here. Can I put the og meta tag anywhere on the page?

I want to use my detail page image for the og tag, the easiest solution is putting the og:image tag in the body of my page.

2

Answers


  1. Open Graph Tag should be always always be placed on header tag until knowledge goes.. People please correct me if I am wrong..

    Login or Signup to reply.
  2. Open Graph meta tags should always be nested between <head> tags.

    To turn your web pages into graph objects, you need to add basic
    metadata to your page. We’ve based the initial version of the protocol
    on RDFa which means that you’ll place additional <meta> tags in the
    <head> of your web page.

    http://ogp.me/#metadata

    Additionally, keep in mind that order of the tags matters, especially when dealing with array tags (which includes og:image).

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search