# Open Graph Tags for CMS Pages

You can add open graph tags for CMS pages using this extension.

For that, go to **Content > Pages** and open your desired CMS page in **Edit** mode. Now move to the **Open Graph Metadata** tab and enlarge it.

<figure><img src="/files/1kIhtnrvtDZfllYR66tt" alt=""><figcaption></figcaption></figure>

* **OG Title:** Add an open graph title for this CMS page.
* **OG Description:** Add an open graph description for this CMS page.
* **OG Image:** Upload an open graph image for this CMS page.

Now, in the storefront, open this CMS 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.

<figure><img src="/files/8cZtAxmu8fRfN9q9Pgae" alt=""><figcaption></figcaption></figure>

If you have added a description to the content section of CMS pages, it will automatically add it to the OG Description.

For that, go to **Content > Pages** and open your desired CMS page in **Edit** mode. Now move to the **Content** tab and enlarge it.  Add a **Description** of the CMS page.

<figure><img src="/files/AAxTBMZtT3zXEghWYhzN" alt=""><figcaption></figcaption></figure>

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.

<figure><img src="/files/2rCiwVHSO4i8CCGUQMZ6" alt=""><figcaption></figcaption></figure>

Likewise, it will automatically take the CMS page name as OG Title for the particular CMS Page.

<figure><img src="/files/dHQECEkIHgPKL3OTwfQL" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.magecomp.com/magento-2-open-graph-tags-extension/open-graph-tags-for-cms-pages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
