Open Graph Tags for Categories
Last updated
Last updated
You can add category-specific open graph tags using this extension.
For that, go to Catalog > Categories and select your desired category from the list in the left panel. Now move to the Open Graph Metadata tab and enlarge it.
OG Title: Add an open graph title for this category.
OG Description: Add an open graph description for this category.
OG Image: Upload an open graph image for this category.
Now, in the storefront, open this category page. Right-click and select View Page Source or press Ctrl+U. You can find that the Open Graph Tags have been successfully added in the <head> section of the page as per your configuration settings.
If you have added a description to the content section of categories, it will automatically add it to the OG Description.
For that, go to Catalog > Categories and select your desired category from the list in the left panel. Now move to the Content tab and enlarge it. Add a Description of the category.
Now move to the Open Graph Metadata tab and enlarge it. You will find that the description content is automatically added to the OG Description field.
Likewise, it will automatically take the category name as OG Title for the particular category.