SEO meta tags

Is there a reason that og:title and twitter:title do not append the defined global suffix like standard <title> meta tag? I would want it append there as well…

     "_seoMetaTags": [
        {
          "attributes": null,
          "content": "Test and Measurement Solutions | Dewesoft",
          "tag": "title"
        },
        {
          "attributes": {
            "property": "og:title",
            "content": "Test and Measurement Solutions"
          },
          "content": null,
          "tag": "meta"
        },
        {
          "attributes": {
            "name": "twitter:title",
            "content": "Test and Measurement Solutions"
          },
          "content": null,
          "tag": "meta"
        },

Hello @primoz.rome

It would indeed make sense to add the suffix to those two parameters as well.
I’ve opened a request to do so, and i’ll get back to you :slight_smile:

@primoz.rome the idea here was that the suffix is useful for SEO purposes, it might be annoying on the social cards?

@mat_jack1 hmm I haven’t think of that. We are using it also on social cards.
Maybe adding a checkbox “Use it on the social cards” would be an all-flexible solution?

Thanks,
Primoz

Sorry, i missed your response!

Can’t you do that on the frontend already?

@mat_jack1 what do you mean exactly?

When you are generating the HTML for the social cards you can do something different compared to what you do for SEO purposes, or am I missing something?

@mat_jack1 but the HTML for social cards is generated by the renderMetaTags method of your react-datocms package.

Sure I could do that myself on the front end, but I like how renderMetaTags takes care of that automatically.

right! OK, we’ll discuss if we want to add something on our component, thank you for the suggestion!

1 Like