"Incorrect value type" from Google Search Console
connor11528 opened this issue · 4 comments
connor11528 commented
Hi there, I deployed a site using Statamic and connected to Google Search Console. The search console flagged a parsing error saying "Incorrect value type" for "@type": blogPost,
that is in the antlers layout. Is this a value that needs to be set in the config or do we need to change the type setting here when on the homepage?
jasonvarga commented
I'm no expert here but my guess is that it's just missing quotes and should be "blogPost"
.
connor11528 commented
Or maybe need quotes with curly brackets if we do want to use a variable here? https://developers.google.com/search/docs/guides/generate-structured-data-with-javascript
jasonvarga commented
Is it supposed to be a variable?
connor11528 commented
thank you @jackmcdade!