Closed franck-thorck closed 2 months ago
Well, I am seeing that the JSON-LD is rendering properly on the page, so SEOmatic is active, and doing it's thing:
<script type="application/ld+json">{"@context":"http://schema.org","@graph":[{"@type":"WebSite","author":{"@id":"https://docbraces.com#identity"},"copyrightHolder":{"@id":"https://docbraces.com#identity"},"copyrightYear":"2022","creator":{"@id":"https://docbraces.com#creator"},"dateModified":"2024-02-01T15:33:22-05:00","datePublished":"2022-10-19T02:54:00-04:00","description":"Our orthodontic experts and proven treatment methods create beautiful smiles, one patient at a time!","headline":"Creating confident smiles that last a lifetime.","image":{"@type":"ImageObject","url":"https://docbraces.com/files/common/Social/_1200x630_crop_center-center_82_none/DOCBRACES_1200x628.jpg?mtime=1690497422"},"inLanguage":"en","mainEntityOfPage":"https://docbraces.com/","name":"Creating confident smiles that last a lifetime.","publisher":{"@id":"https://docbraces.com#creator"},"url":"https://docbraces.com"},{"@id":"https://docbraces.com#identity","@type":"Organization","address":{"@type":"PostalAddress","addressCountry":"Canada","addressLocality":"Etobicoke","addressRegion":"Ontario","postalCode":"M9C 5J5","streetAddress":"401 The West Mall, Suite 301, Etobicoke, ON"},"alternateName":"Canadian Orthodontic Partners","description":"Docbraces is a leading orthodontic specialist clinic network, providing advanced, customized treatment options in comfortable, patient-focused environments.","email":"info@docbraces.com","image":{"@type":"ImageObject","height":"70","url":"https://docbraces.com/files/common/Logo/docbraces-logo.png","width":"476"},"logo":{"@type":"ImageObject","height":"60","url":"https://docbraces.com/files/common/Logo/_600x60_fit_center-center_82_none/docbraces-logo.png?mtime=1690497517","width":"408"},"name":"docbraces","sameAs":["https://twitter.com/docbraces","https://www.facebook.com/docbracesCanada/","https://www.instagram.com/docbraces/"],"telephone":"(888) 983-4032","url":"https://docbraces.com"},{"@id":"https://byhoffman.com/en/#creator","@type":"CreativeWork","alternateName":"Hoffman","description":"Let’s accelerate growth, encourage innovation and unleash your full potential—together.","image":{"@type":"ImageObject","height":"1000","url":"https://docbraces.com/files/common/Hoffman-Logo-Horizontal.png","width":"2218"},"inLanguage":"en","name":"Agence numérique Hoffman","url":"https://byhoffman.com/en"},{"@type":"BreadcrumbList","description":"Breadcrumbs list","itemListElement":[{"@type":"ListItem","item":"https://docbraces.com","name":"Home","position":1}],"name":"Breadcrumbs"}]}</script>
I'm also seeing that SEOmatic is rendering your tracking scripts properly as well, both in the head, and in the <body>
(unless you're doing that manually).
I'd have to guess that something is malformed in your <head>
of your HTML, that's the only time I've ever seen what you're describing occur.
I do see some Twig comments rendering in your <head>
so I feel like something is likely not right here. Try validating it with the WC3 validator:https://validator.w3.org/nu/?doc=https%3A%2F%2Fdocbraces.com%2F
Hi @khalwat,
Thank you for quick reply.
Yes the GTM was put in the code manually, because it was no more rendered by SEOMatic automatically when we filled it in the CMS.
I am checking the head and DOM to see if something can stop the rendering.
I let you know about that.
It's very likely somehow a malformed <head>
-- the only other thing I can think of is if you have some JavaScript that runs which is removing all of those items from the <head>
.
Will re-open if additional information is provided.
Describe the bug
Even if "Automatic Render Enabled" is activated in the plugin options, whether in a production or local environment, no SEO element will render on the frontend site.
The GTM no longer displays. Title, site name, description and other data are no longer displayed.
The plugin in production is in "live" mode. In the local environment, whether in "live" or "local" mode, nothing is displayed.
I've tried to remove as much content as possible in the head and at the end of the body that could interfere with it. Locally, I've done all the updates, but nothing works. I've deleted all possible caches, still nothing.
Only the preview in the CMS is working.
I've run out of ideas. Can anyone help me?
Thanks a lot.
To reproduce
Steps to reproduce the behaviour:
Expected behaviour
SEOMatic auto render all data.
Screenshots
Versions
Production:
Local: