Does the Open Graph Tags module support the og:image tag?

Does the Open Graph Tags module support the og:image tag?

The Open Graph Tag module enhances social sharing by adding og:image tags to two entities: Product Page and Category Pages.

Custom tags can be incorporated into the module's code within the templates located in the Open Graph Tags folder in this path: view/frontend/templates/[page-type]/og_markup.phtml.



These custom tags will override the default tags when the corresponding setting is enabled in the configuration (Amasty > SEO Toolkit > SEO Open Graph > Configuration):



For Category Pages, the og:image tag will display an image sourced from the Category Image field: 



On Product Pages, the og:image tag will showcase the first image from the Images and Videos field:



By default, the og:image tag will not be included for CMS Pages. 

      • Related Articles

      • How to use meta tags templates?

        You can create unique meta tags for many pages at once using meta tag templates. If you'd like to generate a template, please navigate to Amasty → SEO Meta Tags Templates → Meta Tags by Category/Meta Tags by Custom URLs. First, please select a main ...
      • Does the SEO Toolkit allow users to automate product image alt text?

        The SEO Toolkit includes the Alt Tags Generator. It allows users to generate Alt Tags for product and category images automatically in bulk by creating Alt Tag Rules. Please note, that this functionality is available only for the Premium pricing plan ...
      • Will the module work with GTM?

        Out of the box, the module is tested and guaranteed compatible with the following ways of GTM implementation: 1) Magento's native Google Analytics functionality (Stores → Configuration → Sales → Google API → Google Analytics). 2) Amasty Google ...
      • How to customize the SEO content of the pages with SEO Meta Tags Templates?

        Some extensions allow the creation of pages but lack the functionality of customizing their SEO parameters. For example, you may be willing to add NOINDEX, NOFOLLOW robot tags to the authors, categories or tags pages created with the Blog Pro ...
      • Is it possible to rearrange and stylize elements on the gift card image?

        Starting from version 2.7.0, the Gift Card extension provides UI for editing and rearranging elements (expiry date, balance, etc.) on the gift card image right from the admin panel. To do so, add a new image in Gift Card → Images → Add New or open ...