{"id":249,"date":"2017-11-23T04:36:49","date_gmt":"2017-11-23T04:36:49","guid":{"rendered":"http:\/\/www.come4seo.com\/blog\/?p=249"},"modified":"2017-11-23T04:36:49","modified_gmt":"2017-11-23T04:36:49","slug":"how-to-implement-schema-code-with-google-tag-manager","status":"publish","type":"post","link":"http:\/\/www.come4seo.com\/blog\/2017\/11\/23\/how-to-implement-schema-code-with-google-tag-manager\/","title":{"rendered":"How to Implement Schema code with Google Tag Manager"},"content":{"rendered":"<p>Now a day\u2019s almost all website owners are adding schema code to their website. So there are two way to add schema to your website.<\/p>\n<ol>\n<li>Implement Hard code On your website<\/li>\n<li>Implement with Google Tag Manager<\/li>\n<\/ol>\n<p>Schema has introduce in 2011. Schema.org is a collection of schemas for structured data which help to search engine for better understanding of website content. By implementing schema you can organize your data i.e. how your data should be replicate in search engine.<br \/>\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- Responsive Add Come4seo --><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-client=\"ca-pub-5455823513925766\" data-ad-slot=\"2381657368\" data-ad-format=\"auto\"><\/ins><br \/>\n<script>\n(adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><br \/>\nToday I will discuss the step which you should follow to implement schema for your website.<\/p>\n<p>Step-1 Create Script for Schema Mark-up \u2013 you should create schema script as per your requirement. Here I am sharing JSON to implement schema for website logo and Social Links. So as per this step below will be the JSON which we will implement through GTM.<\/p>\n<p>&lt;script type=&#8221;application\/ld+json&#8221;&gt;<\/p>\n<p>{ &#8220;@context&#8221; : &#8220;<a href=\"http:\/\/schema.org\/\">http:\/\/schema.org<\/a>&#8220;,<\/p>\n<p>&#8220;@type&#8221; : &#8220;Organization&#8221;,<\/p>\n<p>&#8220;name&#8221; : &#8220;Company Name&#8221;,<\/p>\n<p>&#8220;url&#8221; : &#8220;Website URL&#8221;,<\/p>\n<p>&#8220;sameAs&#8221; : [ &#8220;Facebook Page URL&#8221;,<\/p>\n<p>&#8220;Twitter Handle URL&#8221;,<\/p>\n<p>&#8220;Youtube URL&#8221;,<\/p>\n<p>&#8220;Google Plus URL&#8221;,<\/p>\n<p>&#8220;Linked-In URL&#8221;]<\/p>\n<p>}<\/p>\n<p>&lt;\/script&gt;<\/p>\n<p>&nbsp;<\/p>\n<p>Step-2 \u2013 Open Google Tag Manager and Create a Tag as per below Screen. Click on circled option that is Tag and click on new.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-250\" src=\"http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/Google-tag-manager-training-institute.png\" alt=\"\" width=\"601\" height=\"228\" srcset=\"http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/Google-tag-manager-training-institute.png 601w, http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/Google-tag-manager-training-institute-300x114.png 300w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/p>\n<p>Step-3 Once you will click on new than below screen you will get. Here you should select CUSTOM HTML and paste your JSON which you have prepared.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-251\" src=\"http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/google-tag-manager-training.png\" alt=\"\" width=\"601\" height=\"510\" srcset=\"http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/google-tag-manager-training.png 601w, http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/google-tag-manager-training-300x255.png 300w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/p>\n<p>Now select trigger and create a new trigger where you want to implement schema.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-253\" src=\"http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/schema-implementation-with-gtm.png\" alt=\"\" width=\"601\" height=\"303\" srcset=\"http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/schema-implementation-with-gtm.png 601w, http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/schema-implementation-with-gtm-300x151.png 300w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/p>\n<p>As per above screen you should create a new trigger as per requirement and fire it on required pages. After doing it save tag which you have created.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-255\" src=\"http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/schema-markup-implementation-with-google-tagmanager.png\" alt=\"\" width=\"602\" height=\"270\" srcset=\"http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/schema-markup-implementation-with-google-tagmanager.png 602w, http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/schema-markup-implementation-with-google-tagmanager-300x135.png 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/p>\n<p>Now you have successfully created a tag and you can check it in preview and see what value is passing in your tag. When you have completed your implementation than you should check it with DATA STRUCTURE TESTING TOOL. You know the trigger so accordingly can check for any of the pages how your schema looks like. I am sharing one more screens which will show the output of schema implementation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-254\" src=\"http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/schema-implementation-with-tag-manager.png\" alt=\"\" width=\"601\" height=\"236\" srcset=\"http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/schema-implementation-with-tag-manager.png 601w, http:\/\/www.come4seo.com\/blog\/wp-content\/uploads\/2017\/11\/schema-implementation-with-tag-manager-300x118.png 300w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/p>\n<p>So I will suggest all marketer should use schema mark-up to get all benefits of this. In this case you can implement it without knowledge of HTML. You did not required any server\/ web file access to make change.<\/p>\n<p>Hope this blog will provide you some help to get an idea about schema implementation through Google Tag Manager.<br \/>\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-format=\"fluid\" data-ad-layout=\"image-side\" data-ad-layout-key=\"-fg+5r+6l-ft+4e\" data-ad-client=\"ca-pub-5455823513925766\" data-ad-slot=\"1444810129\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now a day\u2019s almost all website owners are adding schema code to their website. So there are two way to add schema to your website. Implement Hard code On your website Implement with Google Tag Manager Schema has introduce in 2011. Schema.org is a collection of schemas for structured data which help to search engine [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-249","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"http:\/\/www.come4seo.com\/blog\/wp-json\/wp\/v2\/posts\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.come4seo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.come4seo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.come4seo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.come4seo.com\/blog\/wp-json\/wp\/v2\/comments?post=249"}],"version-history":[{"count":2,"href":"http:\/\/www.come4seo.com\/blog\/wp-json\/wp\/v2\/posts\/249\/revisions"}],"predecessor-version":[{"id":257,"href":"http:\/\/www.come4seo.com\/blog\/wp-json\/wp\/v2\/posts\/249\/revisions\/257"}],"wp:attachment":[{"href":"http:\/\/www.come4seo.com\/blog\/wp-json\/wp\/v2\/media?parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.come4seo.com\/blog\/wp-json\/wp\/v2\/categories?post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.come4seo.com\/blog\/wp-json\/wp\/v2\/tags?post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}