Schema through Yoast


Jo Shaer

Forum Member
Joined
Jul 27, 2012
Messages
254
Likes
38
Hi Guys
Just adding schema through GTM to a contact page. We noticed that the Yoast plugin automatically adds organisation schema to every page.
Web dev says he can block the Yoast schema. But that will remove the organisation schema that has been crawled by Google's bots so she is used to seeing.
Would removing the Yoast organisation schema cause any short or long term SEO impact?
We do plan to add page-specific Schema to the main pages over the next few weeks
 
Joined
Jul 27, 2012
Messages
254
Likes
38
Joined
Feb 5, 2019
Messages
13
Likes
13
Adding schema via GTM is not recommended
Ugh.

A while back Google's Structured Data Testing Tool stopped seeing Structured Data that was inserted via Google Tag Manager.

This caused a minor little uproar on Twitter when Google's John Mueller tweeted a response of "I wouldn't rely on a tool like GTM to add Structured Data". One blog immediately twisted this into wrote that Google itself has now declared that GTM should not be used for inserting Structured Data. Which is ridiculous.

A new, reliable way to insert Structured Data via Google Tag Manager was found by Simo Ahava and this method allows for the testing tool to detect the Structured Data 100% fine.


Tag Manager is the superior method to implement at scale and can dynamically change the Structured Data based on the content of the page! (eg: 1 single snippet for the schema for 10,000 blog posts, that can all be updated in under 30 sec.) See this article and this older Moz article for more information on how to do that.

HTML:
<!-- GOOGLE TAG MANAGER VERSION -->
<!-- Credit: https://twitter.com/SimoAhava/status/1001397355403468802 -->
<!-- Source: https://github.com/JayHoltslander/Structured-Data-JSON-LD -->
<script>
(function() {
   var jsonData =

// PASTE THE JSON THAT YOU WANT TO USE, HERE.
// Only paste what's within the <script> block.
// Your pasted content should start with a "{" and end with a "}"

; var el = document.createElement('script');
el.type = 'application/ld+json';
el.innerHTML = JSON.stringify(jsonData);
document.head.appendChild(el);
})();
</script>
 

Similar threads


Local Search Forum


Weekly Digest
Subscribe/Unsubscribe


Google Product Exert

@LocalSearchLink

Join Our Facebook Group

Top