New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn off schema #1297
Comments
Yes, there is. You can disable the JSON-LD container entirely: {% set jsonLdContainer = seomatic.jsonLd.container() %}
{% do jsonLdContainer.include(false) %} https://nystudio107.com/docs/seomatic/using.html#meta-containers https://nystudio107.com/docs/seomatic/using.html#json-ld-meta-object-functions-seomatic-jsonld I would mention that their idea of using GTM to add the JSON-LD is not an optimal recommendation, because:
What I would highly recommend instead is that you use the SEOmatic APIs to customize the JSON-LD as you see fit. Docs: https://nystudio107.com/docs/seomatic/using.html#json-ld-meta-object-functions-seomatic-jsonld Examples: https://nystudio107.com/blog/annotated-json-ld-structured-data-examples If they are like most SEO agencies I'm familiar with, they will be resistant to doing this, mostly because it's outside of the realm of what they usually do. Good luck! |
Ah amazing. Yes we would rather they went that way too but I think you're right. They have a "Better the devil you know" take on this. I'll have a chat to them about it. Cheers for the tips. And thanks as ever for the quick response! |
Question
Hi. We have a client that is using a 3rd party specialist for SEO management. They are planning to add their schema data via GTM (which is a thing apparently). Is there a way to disable the schema data coming from the plugin (at the entry or site level)? I can't find anyway to do this via the docs, issues, or plugin settings. Apologies if this is covered and I haven't been able to find it.
Additional context
N/A
The text was updated successfully, but these errors were encountered: