User Tools

Site Tools


Sidebar

magento_2:open_graph_tags

For more details see how the Open Graph Tags for Magento 2 extension works.

Guide for Open Graph Tags for Magento 2

With the extension you can share your store pages on social networks, opening the door to a wider audience and attracting new customers. Take complete control over how your website's content appears when shared across various platforms.

  • Manage your store links display on social networks
  • Add Open Graph tags for product, category, and CMS pages
  • Enable automatic OG tags based on various attributes
  • Share informative links with your social media followers

Configuration

To configure Open Graph meta tags extension, please go to StoresConfigurationSEO Open Graph

Product Page

For the Product Pages you can use product attribute codes to display its value in Open Graph tags on the frontend. Please make sure “Used in Product Listing” is set to Yes for the selected attribute. The extension will use Meta Tags Templates values if applicable.

Enabled - set to ‘Yes’ to enable Open Graph meta tags on product pages

Open Graph Title - enter an attribute code for the title that will be displayed on the frontend

Open Graph Description - enter an attribute code for the description that will be displayed on the frontend.

Please note that if the value of meta_title or meta_description attribute is not set, then the product name and product description will be used by default.

Category Page

Enabled - set to ‘Yes’ to enable Open Graph meta tags on category pages

Open Graph Title - enter an attribute code for the title that will be displayed on the frontend

Open Graph Description - enter an attribute code for the description that will be displayed on the frontend

Available variables for Category Pages:
  • meta_title - Category Meta Title
  • meta_description - Category Meta Description
  • name - Category Name
  • description - Category Description

CMS Pages

Enable Open Graph on Home Page - set to ‘Yes’ to enable Open Graph meta tags on the Home Page

Enable Open Graph on CMS Pages - set to ‘Yes’ to enable Open Graph meta tags on CMS Pages

Open Graph Title - enter an attribute code for the title that will be displayed on the frontend

Open Graph Description - enter an attribute code for the description that will be displayed on the frontend

Available variables for CMS Pages:
  • meta_title - CMS Page Meta Title
  • meta_description - CMS Page Meta Description
  • title - CMS Page Title Name
  • content_heading - CMS Page Content Heading

Find out how to install the Open Graph Tags extension for Magento 2 via Composer.
Rate the user guide
 stars  from 1 votes (Details)
magento_2/open_graph_tags.txt · Last modified: 2023/11/11 10:18 by asemenova