{"id":989516,"date":"2025-11-07T10:42:00","date_gmt":"2025-11-07T10:42:00","guid":{"rendered":"https:\/\/kindm3dia.com\/?p=989516"},"modified":"2026-02-17T13:26:21","modified_gmt":"2026-02-17T13:26:21","slug":"cum-sa-implementati-schema-markup-cu-google-tag-manager","status":"publish","type":"post","link":"https:\/\/kindm3dia.com\/ro\/expertise\/how-to-implement-schema-markup-with-google-tag-manager\/","title":{"rendered":"Cum s\u0103 implementa\u021bi Schema Markup cu Google Tag Manager"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"989516\" class=\"elementor elementor-989516\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4005d89b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4005d89b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4f755b0f\" data-id=\"4f755b0f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-68124acb elementor-widget elementor-widget-text-editor\" data-id=\"68124acb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Note: In our experience, schema markup implemented via <a href=\"https:\/\/support.google.com\/tagmanager\/answer\/6102821?hl=en\" target=\"_blank\" rel=\"noopener\">GTM<\/a> (Google Tag Manager) is a <strong>great option<\/strong> if there\u2019s a development backlog. It can be a great way to test before going ahead with a full implementation and is quick to deploy for a quick win.<\/p>\n<p>However, this is not always our preferred implementation. Occasionally it can take longer for this to be picked up by Search Engines and in rare cases, not indexed at all. Therefore, if possible, always implement schema directly in the source code.<\/p>\n<p>This article assumes you have a <strong>basic understanding<\/strong> of schema markup and can create your own JSON-LD markup. You can refresh your memory by reading our <a href=\"https:\/\/kindm3dia.com\/expertise\/beginners-guide-to-structured-data\/\" target=\"_blank\" rel=\"noopener\">Beginners Guide on Structure Data<\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e6b3ee1 elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents\" data-id=\"e6b3ee1\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;],&quot;exclude_headings_by_selector&quot;:[],&quot;marker_view&quot;:&quot;bullets&quot;,&quot;no_headings_message&quot;:&quot;No headings were found on this page.&quot;,&quot;icon&quot;:{&quot;value&quot;:&quot;fas fa-circle&quot;,&quot;library&quot;:&quot;fa-solid&quot;},&quot;minimize_box&quot;:&quot;yes&quot;,&quot;minimized_on&quot;:&quot;tablet&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\" data-widget_type=\"table-of-contents.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__header\">\n\t\t\t\t\t\t<h4 class=\"elementor-toc__header-title\">\n\t\t\t\tTable of Contents\t\t\t<\/h4>\n\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--expand\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__e6b3ee1\" aria-expanded=\"true\" aria-label=\"Open table of contents\"><i aria-hidden=\"true\" class=\"fas fa-chevron-down\"><\/i><\/div>\n\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--collapse\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__e6b3ee1\" aria-expanded=\"true\" aria-label=\"Close table of contents\"><i aria-hidden=\"true\" class=\"fas fa-chevron-up\"><\/i><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<div id=\"elementor-toc__e6b3ee1\" class=\"elementor-toc__body\">\n\t\t\t<div class=\"elementor-toc__spinner-container\">\n\t\t\t\t<i class=\"elementor-toc__spinner eicon-animation-spin eicon-loading\" aria-hidden=\"true\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-05d7b13 elementor-widget elementor-widget-heading\" data-id=\"05d7b13\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to implement schema with Google Tag Manager<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7fc39245 elementor-widget elementor-widget-text-editor\" data-id=\"7fc39245\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul>\n<li>Start with your JSON-LD markup. If you need help creating this, give us a shout or jump to this article.<\/li>\n<li>Validate your JSON-LD markup by pasting your code snippet into Structure Data Testing Tool for checking any potential errors.<\/li>\n<li>Once the code is validated, go to Google Tag Manager and Add a New Tag<\/li>\n<li>Give your tag a name and select the &#8220;<strong>Custom HTML<\/strong>&#8221; option from Tag Configuration box<\/li>\n<li>Paste your JSON-LD into the box<\/li>\n<li>\n<p>Next, you need a trigger. The trigger determines when our new tag will fire. In this case, it should only fire on the page we needed to. In the example we use &#8220;\/schema-example&#8221;. Within the trigger configuration, choose page views, some page views where we are going to use &#8220;Page Path equals \/schema-example\/&#8221;, as below.<\/p>\n<\/li>\n<li>\n<p>Of course, save the trigger and now we are ready to test it.<\/p>\n<\/li>\n<\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d81d02a elementor-widget elementor-widget-spacer\" data-id=\"d81d02a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4b14e04d elementor-widget elementor-widget-image\" data-id=\"4b14e04d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"933\" height=\"646\" src=\"https:\/\/kindm3dia.com\/wp-content\/uploads\/Paste-in-HTML.png\" class=\"attachment-2048x2048 size-2048x2048 wp-image-989523\" alt=\"\" srcset=\"https:\/\/kindm3dia.com\/wp-content\/uploads\/Paste-in-HTML.png 933w, https:\/\/kindm3dia.com\/wp-content\/uploads\/Paste-in-HTML-300x208.png 300w, https:\/\/kindm3dia.com\/wp-content\/uploads\/Paste-in-HTML-768x532.png 768w\" sizes=\"(max-width: 933px) 100vw, 933px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6193ccd elementor-widget elementor-widget-spacer\" data-id=\"6193ccd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6147ac0 elementor-widget elementor-widget-heading\" data-id=\"6147ac0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Testing your schema markup<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-56abe3d4 elementor-widget elementor-widget-text-editor\" data-id=\"56abe3d4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Are two phases when comes to checking your schema markup. Firstly, we need to verify that the tag is firing correctly in GTM before we publish the container. Next, wee need to validate the implemented markup with the structured data tester.<\/p>\n<p><!-- \/wp:paragraph --><!-- wp:list --><\/p>\n<ul class=\"wp-block-list\"><!-- wp:list-item -->\n<li><strong>Testing the Tag is Firing Correctly<\/strong><\/li>\n<!-- \/wp:list-item --><\/ul>\n<p><!-- \/wp:list --><!-- wp:paragraph --><\/p>\n<p>Now we have our tag and trigger saved within our GTM workspace, but not published. To test the tag is working correctly, enter the preview mode by clicking &#8220;Preview&#8221; from top-right hand corner.<\/p>\n<p><!-- \/wp:paragraph --><!-- wp:paragraph --><\/p>\n<p>Once the Preview mode is open (Tag Assistant is connected) we can see which Tags where fired under the Tags tab. Click on this to dive deeper and check that your schema tag has fired.<\/p>\n<p><!-- \/wp:paragraph --><!-- wp:paragraph --><\/p>\n<p>Now, within the Preview mode, navigate to some pages which shouldn&#8217;t include our schema markup. Hopefully, on these pages the Tag doesn&#8217;t appear as fired.<\/p>\n<p><!-- \/wp:paragraph --><!-- wp:list --><\/p>\n<ul class=\"wp-block-list\"><!-- wp:list-item -->\n<li><strong>Testing the Markup is Being Detected Correctly<\/strong><\/li>\n<!-- \/wp:list-item --><\/ul>\n<p><!-- \/wp:list --><!-- wp:paragraph --><\/p>\n<p>Once the container has been published, the Tag should be on live site and we can look to see if the markup is within the page source code. Right click and &#8220;View Source&#8221;. You should see the schema markup within the page code.<\/p>\n<p><!-- \/wp:paragraph --><!-- wp:paragraph --><\/p>\n<p>Go to Structured Data Testing Tool and paste the URL address so can fetch the code snipped. And press &#8220;Run Test&#8221;.<\/p>\n<p><!-- \/wp:paragraph --><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c08bb7b elementor-blockquote--skin-clean elementor-blockquote--align-center elementor-widget-mobile__width-inherit elementor-widget elementor-widget-blockquote\" data-id=\"c08bb7b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"blockquote.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<blockquote class=\"elementor-blockquote\">\n\t\t\t<p class=\"elementor-blockquote__content\">\n\t\t\t\tPro Tip: If you inject schema using JavaScript or Google Tag Manager, simple code validators might miss it. Instead, use the URL Inspection Tool inside Google Search Console. Click \"Test Live URL\" and then \"View Tested Page\" to see the actual HTML Google rendered, this confirms if they are successfully \"seeing\" your code.\t\t\t<\/p>\n\t\t\t\t\t<\/blockquote>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cea4897 elementor-widget elementor-widget-text-editor\" data-id=\"cea4897\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Sometimes, when you are using GTM to implement schema it&#8217;s not picked (due to the way GTM injects code), so you can test with the <strong>rendered HTML<\/strong> for the page. Also, you can check within your Google Search Console under Rich Snippet tool if the schema markup is picked up or not.<\/p>\n<p>If you encounter any challenges or have suggestions to enhance this guide, please don&#8217;t hesitate to <a href=\"https:\/\/kindm3dia.com\/contact\/\" target=\"_blank\" rel=\"noopener\">reach out<\/a> to us. We eagerly welcome your input as it&#8217;s the swiftest route to our self-improvement and providing you with top-tier advice. By assisting us, you allow us to assist you better.<\/p>\n<p><!-- \/wp:paragraph --><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Note: In our experience, schema markup implemented via GTM (Google Tag Manager) is a great option if there\u2019s a development backlog. It can be a great way to test before going ahead with a full implementation and is quick to deploy for a quick win. However, this is not always our preferred implementation. Occasionally it&#8230;<\/p>","protected":false},"author":1,"featured_media":989518,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_glsr_average":0,"_glsr_ranking":0,"_glsr_reviews":0,"footnotes":""},"categories":[2,3],"tags":[9,16],"class_list":["post-989516","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-expertise","category-marketing","tag-digital-marketing","tag-seo"],"_links":{"self":[{"href":"https:\/\/kindm3dia.com\/ro\/wp-json\/wp\/v2\/posts\/989516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kindm3dia.com\/ro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kindm3dia.com\/ro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kindm3dia.com\/ro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kindm3dia.com\/ro\/wp-json\/wp\/v2\/comments?post=989516"}],"version-history":[{"count":36,"href":"https:\/\/kindm3dia.com\/ro\/wp-json\/wp\/v2\/posts\/989516\/revisions"}],"predecessor-version":[{"id":991218,"href":"https:\/\/kindm3dia.com\/ro\/wp-json\/wp\/v2\/posts\/989516\/revisions\/991218"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kindm3dia.com\/ro\/wp-json\/wp\/v2\/media\/989518"}],"wp:attachment":[{"href":"https:\/\/kindm3dia.com\/ro\/wp-json\/wp\/v2\/media?parent=989516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kindm3dia.com\/ro\/wp-json\/wp\/v2\/categories?post=989516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kindm3dia.com\/ro\/wp-json\/wp\/v2\/tags?post=989516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}