Snippets addon: SameAs property is empty

Hi!

In addition to the error I have posted about the address not being shown in the Snippets output, I have now noticed that Social Profiles which should be outputted inside the SameAs property are missing.

I have seen that you have pushed an update to one of the Extensions recently.
This is a critical one for those who are using it, so I think that fixing it asap would be important.

Thank you!

Hello @Misho,

Thanks for writing in! We’ve submitted this to our issue tracker so the developers will be made aware of it.
Please bear with us.

1 Like

Hi Misho!

We’re investigating this issue now and we’re not able to reproduce it. I’ve reopened this thread. Would you be ok if we logged into the site to check some things? Thank you!

Hi Alexander!

This is very interesting.

The SameAs property is now filled up. The missing Social links are present. They weren’t there at first, nor in the code or in the Structured Data testing tool. I didn’t do any changes here. I made sure to clear all caches mutiple times before reporting that here. This is great news.

The Address field is still missing thought.

(Also, it would be great to have the ServesCuisine data). :slight_smile:

I am placing the login details in the private note, in case you need it.

Thanks!

Thank you! That’s what we were seeing as well when trying to reproduce it. We’ll take a closer look at your site for the other issues.

Hi Misho!

Would you mind taking a look at the site? We made some changes in the settings and it seems to be working now. There is a consideration with the address schema output. All the fields need to be present in order for it to output the address - otherwise it isn’t considered valid.

It would be a reasonable undertaking to add the next layer of schema data like servesCuisine so we aren’t going to tackle it nearterm but will consider it for another update. We are going to add some filters in the plugin code so more data can be added to the JSON LD output programatically. With just a few lines of code in a child theme you’ll be able to populate servesCuisine and just about any other schema you need.

Ha @alexander!

Thank you for taking all the efforts!

I still don’t see the address in the code. Only the null,:

<script id="snippet-json-ld-website" type="application/ld+json">{
    "@context": "http://schema.org/",
    "@type": "WebSite",
    "url": "https://www.core-bruxelles.be",
    "name": "Core Bruxelles",
    "alternateName": "Core Bruxelles Restaurant & bar"
}</script> <script id="snippet-json-ld-organization" type="application/ld+json">{
    "@context": "http://schema.org/",
    "@type": "Restaurant",
    "name": "Core Bruxelles",
    "url": "https://www.core-bruxelles.be",
    "image": {
        "@type": "ImageObject",
        "url": "https://www.core-bruxelles.be/wp-content/uploads/core-bruxelles-home.jpg",
        "height": "960",
        "width": "960"
    },
    "logo": {
        "@type": "ImageObject",
        "url": "https://www.core-bruxelles.be/wp-content/uploads/restaurant-core-bruxelles-logo2.png",
        "height": "407",
        "width": "500"
    },
    "openingHours": [
        "Mo-Su 12:00-14:30",
        "Mo-Su 19:00-23:00"
    ],
    "additionalType": [
        "servesCuisine"
    ],
    "priceRange": "Between 12 and 30 \u20ac",
    "location": {
        "@type": "Place",
        "geo": {
            "@type": "GeoCoordinates",
            "longitude": "50.8441194",
            "latitude": "4.3522616"
        }
    },
    "address": null,
    "sameAs": [
        "https://web.facebook.com/corebruxelles/",
        "https://www.instagram.com/corebruxelles/"
    ],
    "contactPoint": [
        {
            "@context": "http://schema.org/",
            "@type": "ContactPoint",
            "telephone": "+32 (0)460 97 13 56",
            "contactType": "Reservations",
            "availableLanguage": "English",
            "hoursAvailable": [
                "Mo-Su 08:00-10:00"
            ]
        }
    ],
    "telephone": "+32 (0)460 97 13 56"
}</script> <script id="snippet-json-ld-page-post" type="application/ld+json">{
    "@context": "http://schema.org/",
    "@type": "Article",
    "headline": "Core Bruxelles",
    "alternativeHeadline": "Core Bruxelles Restaurant & Bar",
    "datePublished": "2018-12-14 11:40:44",
    "dateModified": "2019-02-13 10:18:26",
    "author": {
        "@type": "Person",
        "name": "Core Bruxelles"
    },
    "publisher": {
        "@type": "Organization",
        "name": "Core Bruxelles",
        "logo": {
            "@type": "ImageObject",
            "url": "https://www.core-bruxelles.be/wp-content/uploads/restaurant-core-bruxelles-logo2.png",
            "height": "407",
            "width": "500"
        }
    }
}</script> 

However, the Logo and the Description are now empty. I can bet I had those filled.

Thanks!

Hi Misho,

Could you go to the Address tab and add something for State/County? I’m honestly not sure what that would be for Brussels… (Brussels again?) so I didn’t add it. Once that’s in it should output. All those fields need to be present for it to validate the settings and output.

Hi Alexander,

yes, adding the County did solved it.

I think that I did added it in the first time. But I cannot be sure right now.

I guess the encoding isn’t a problem? This is how it is displayed in the code:

"streetAddress": "Placede la Vieille Halle aux Bl\u00e9s 39",

I’ll keep an eye on it.

Thanks!

Oh btw, I am not sure if this happens on the RC, but on the stable version I keep losing the starred Elements in the Content builder. They stick around few day and then disappear.

Thanks Misho! Sorry for missing this over the past few days.

Starred elements are remembered only in the browser’s localstorage so it’s quite temporary. It probably happens anytime you do a full cache purge. That’s probably what’s happening.

I’m thinking we’ll reconsider that when we get back to the updates that offer more customization to the interface since we’ll need to persist those preferences more long term.