{"id":9594,"date":"2018-07-13T06:00:49","date_gmt":"2018-07-12T21:00:49","guid":{"rendered":"https:\/\/www.suzukikenichi.com\/blog\/?p=9594"},"modified":"2018-07-13T05:47:45","modified_gmt":"2018-07-12T20:47:45","slug":"you-sholdnt-add-structured-data-by-google-tag-manager","status":"publish","type":"post","link":"https:\/\/www.suzukikenichi.com\/blog\/you-sholdnt-add-structured-data-by-google-tag-manager\/","title":{"rendered":"\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u306e\u8ffd\u52a0\u306b\u306f Google \u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3 \u3092\u4f7f\u308f\u306a\u3044\u307b\u3046\u304c\u3044\u3044"},"content":{"rendered":"<p class=\"p20-b al-r small\">[\u30ec\u30d9\u30eb: \u4e0a\u7d1a]<\/p>\n<blockquote><p>\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u3068\u304d\u306b\u306f\u3001Google \u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u306f\u4f7f\u308f\u306a\u3044\u307b\u3046\u304c\u3044\u3044<\/p><\/blockquote>\n<p class=\"p30-t p60-b\">Google \u306e John Mueller\uff08\u30b8\u30e7\u30f3\u30fb\u30df\u30e5\u30fc\u30e9\u30fc\uff09\u6c0f\u306f\u3001\u3053\u306e\u3088\u3046\u306b\u30a2\u30c9\u30d0\u30a4\u30b9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u8907\u96d1\u3055\u304c\u5897\u3059\u3001\u30c7\u30d0\u30c3\u30b0\u304c\u3088\u308a\u56f0\u96e3\u306b<\/h2>\n<p>\u30df\u30e5\u30fc\u30e9\u30fc\u6c0f\u306b Twitter \u3067\u30d5\u30a9\u30ed\u30ef\u30fc\u304c\u6b21\u306e\u3088\u3046\u306b\u8cea\u554f\u3057\u307e\u3057\u305f\u3002<\/p>\n<blockquote><p>Google \u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u5229\u7528\u3057\u3066\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3067\u306e\u691c\u8a3c\u304c\u6700\u8fd1\u5931\u6557\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3069\u3046\u3057\u3066\u3067\u3059\u304b\uff1f<\/p><\/blockquote>\n<p class=\"p30-t\">\u30df\u30e5\u30fc\u30e9\u30fc\u6c0f\u306f\u3053\u306e\u3088\u3046\u306b\u8fd4\u4fe1\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p>\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u306e\u306b\u3001\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u306b\u306f\u79c1\u306a\u3089\u983c\u3089\u306a\u3044\u2015\u2015\u3046\u307e\u304f\u52d5\u304f\u3053\u3068\u3082\u3042\u308b\u3060\u308d\u3046\u304c\u3001\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3059\u308b\u7b2c\u4e00\u306e\u65b9\u6cd5\u306b\u306f\u3057\u306a\u3044\u307b\u3046\u304c\u3044\u3002<\/p><\/blockquote>\n<blockquote class=\"twitter-tweet\" data-lang=\"ja\">\n<p lang=\"en\" dir=\"ltr\">I wouldn&#39;t rely on a tool like GTM to add structured data &#8212; it can work, but it shouldn&#39;t be your primary way of integrating structured data.<\/p>\n<p>&mdash; John \u2606.o(\u2267\u25bd\u2266)o.\u2606 (@JohnMu) <a href=\"https:\/\/twitter.com\/JohnMu\/status\/1017108440907419649?ref_src=twsrc%5Etfw\">2018\u5e747\u670811\u65e5<\/a><\/p><\/blockquote>\n<p class=\"p40-t\">\u3057\u3070\u3089\u304f\u524d\u306b\u3082\u3001\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u3067\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306b\u6b21\u306e\u3088\u3046\u306b\u6ce8\u610f\u559a\u8d77\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p>\u6b63\u76f4\u306b\u8a00\u3063\u3066\u3001\u30b5\u30a4\u30c8\u306e\u64cd\u4f5c\u304c\u3067\u304d\u308b\u306a\u3089\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092\u76f4\u63a5\u8a18\u8ff0\u3057\u305f\u3044\u3068\u3053\u308d\u3060\u3002<\/p>\n<p>\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u4f7f\u3046\u3068\u3001\u3044\u308d\u3044\u308d\u3068\u8907\u96d1\u306b\u306a\u3063\u3066\u304d\u3066\u3001\u30c7\u30d0\u30c3\u30b0\u304c\u3088\u308a\u9762\u5012\u306b\u306a\u308b\u3002\u305d\u3057\u3066\u3046\u307e\u304f\u52d5\u4f5c\u3057\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u307e\u3063\u3066\u3082\u304f\u308b\u3002<\/p>\n<p>\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092HTML\u306b\u76f4\u63a5\u8ffd\u52a0\u3059\u308b\u306e\u304c\u5b9f\u969b\u306b\u672c\u5f53\u306b\u96e3\u3057\u3044\u3068\u3044\u3046\u3053\u3068\u3082\u3001\u5b9f\u969b\u306b\u306f\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u3067\u3082\u5c11\u3057\u304f\u3089\u3044\u96e3\u3057\u3044\u3060\u3051\u306a\u3089\u3001\u79c1\u3060\u3063\u305f\u3089\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u4f7f\u3046\u306e\u3067\u306f\u306a\u304f\u3001HTML\u306b\u76f4\u63a5\u8ffd\u52a0\u3057\u305f\u3044\u3002<\/p><\/blockquote>\n<blockquote class=\"twitter-tweet\" data-lang=\"ja\">\n<p lang=\"en\" dir=\"ltr\">TBH if you have access to the site, I&#39;d try to get the SD into the pages directly. GTM adds a lot of complexity, which makes debugging harder, and adds potential points of failure. Sometimes adding SD is really, really hard, but if it&#39;s just a little hard, I&#39;d do it directly :)<\/p>\n<p>&mdash; John \u2606.o(\u2267\u25bd\u2266)o.\u2606 (@JohnMu) <a href=\"https:\/\/twitter.com\/JohnMu\/status\/1002299504912228352?ref_src=twsrc%5Etfw\">2018\u5e745\u670831\u65e5<\/a><\/p><\/blockquote>\n<p class=\"p30-t\">\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u306e\u5b9f\u88c5\u306b\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u5229\u7528\u3059\u308b\u3068\u3001\u4e00\u304b\u6240\u3067\u7ba1\u7406\u3067\u304d\u5909\u66f4\u304c\u7c21\u5358\u3060\u3068\u3044\u3046\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\u307e\u305f\u3001\u76f4\u63a5\u30b3\u30fc\u30c9\u3092\u3044\u3058\u308c\u306a\u3044\u72b6\u6cc1\u3067\u3042\u3063\u3066\u3082\u3001\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u30b3\u30fc\u30c9\u3055\u3048\u8a2d\u7f6e\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u30b5\u30a4\u30c8\u672c\u4f53\u306e\u7ba1\u7406\u6a29\u9650\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u5b9f\u969b\u306b\u51fa\u529b\u3055\u308c\u308b\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092\u305d\u306e\u5834\u3067\u306f\u78ba\u8a8d\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\u305d\u308c\u306b\u3001JavaScript \u306e\u77e5\u8b58\u306b\u7cbe\u901a\u3057\u3066\u3044\u306a\u3044\u3068\u6b63\u3057\u304f\u5b9f\u88c5\u3067\u304d\u306a\u3044\u3053\u3068\u3082\u3042\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p class=\"p40-b\">\u76f4\u63a5\u66f8\u304d\u8fbc\u3080\u5834\u5408\u3088\u308a\u3082\u8907\u96d1\u306b\u306a\u308a\u3001\u691c\u8a3c\u3082\u9762\u5012\u306b\u306a\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306b\u3082\u6642\u9593\u304c\u304b\u304b\u308b<\/h2>\n<p>\u3055\u3089\u306b\u3001Google \u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u3067\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3057\u305f\u5834\u5408\u306f\u3001\u8a8d\u8b58\u3055\u308c\u308b\u307e\u3067\u306b\u3088\u308a\u9577\u3044\u6642\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br \/>Google \u5074\u3067\u306e JavaScript \u306e\u5b9f\u884c\u30d7\u30ed\u30bb\u30b9\u304c\u5b8c\u4e86\u3059\u308b\u307e\u3067\u306b\u6570\u65e5\u7a0b\u5ea6\u3092\u8981\u3059\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.suzukikenichi.com\/blog\/adding-noindex-tag-with-javascript-isnt-recommended\/\">JavaScript \u3067\u751f\u6210\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306f \u201c\u30bb\u30ab\u30f3\u30c9 \u30a6\u30a7\u30fc\u30d6\u201d \u3068\u547c\u3070\u308c\u308b\u30d7\u30ed\u30bb\u30b9\u3067\u5b9f\u884c<\/a>\u3055\u308c\u307e\u3059\u3002<br \/>\u201c\u30d5\u30a1\u30fc\u30b9\u30c8 \u30a6\u30a7\u30fc\u30d6\u201d \u3067\u5b9f\u884c\u3055\u308c\u308b \u9759\u7684\u306a HTML \u306f\u30af\u30ed\u30fc\u30eb\u3068\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u540c\u6642\u306b\u51e6\u7406\u3055\u308c\u307e\u3059\u3002<br \/>\u3067\u3059\u304c\u3001\u30bb\u30ab\u30f3\u30c9\u30a6\u30a7\u30fc\u30d6\u306f\u9593\u9694\u304c\u7a7a\u304f\u306e\u3067\u3059\u3002<\/p>\n<p class=\"p40-b\">JavaScript \u306b\u3088\u308b noindex \u30bf\u30b0\u306e\u633f\u5165\u304c\u63a8\u5968\u3055\u308c\u306a\u304b\u3063\u305f\u3088\u3046\u306b\u3001\uff08noindex \u307b\u3069\u306b\u306f\u5373\u6642\u6027\u304c\u5fc5\u8981\u306a\u304b\u3063\u305f\u3068\u3057\u3066\u3082\uff09\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u306e\u633f\u5165\u3067\u3082\u3001JavaScript \u306e\u4ecb\u5728\u306f\u6642\u9593\u304c\u304b\u304b\u308b\u3068\u3044\u3046\u70b9\u3067\u63a8\u5968\u3055\u308c\u306a\u3044\u306e\u3067\u3059\u3002<\/p>\n<h2>GTM \u633f\u5165\u306e\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u306f\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b<\/h2>\n<p>Google \u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u3067\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u69cb\u9020\u5316\u30c7\u30fc\u30bf \u30c6\u30b9\u30c8 \u30c4\u30fc\u30eb\u3067\u30a8\u30e9\u30fc\uff08\u8b66\u544a\uff09\u304c\u3057\u3070\u3089\u304f\u524d\u304b\u3089\u767a\u751f\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3088\u3046\u3067\u3059\u3002<br \/>\u305d\u308c\u307e\u3067\u306f\u5408\u683c\u3057\u3066\u3044\u3066\u3001\u4f55\u3082\u5909\u66f4\u3092\u52a0\u3048\u3066\u3044\u306a\u3044\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3067\u3059\u3002<\/p>\n<p>\u30c4\u30fc\u30eb\u5074\u306b\u4f55\u3089\u304b\u306e\u5909\u66f4\u304c\u52a0\u3048\u3089\u308c\u305f\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u6700\u7d42\u7684\u306a\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u6642\u70b9\u3067\u306f\u3001\u5909\u308f\u3089\u305a\u6b63\u3057\u304f\u8a8d\u8b58\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u307e\u307e\u3067\u3082\u69cb\u3044\u307e\u305b\u3093\u304c\u3001\u30c4\u30fc\u30eb\u3067\u3082\u5408\u683c\u3055\u305b\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u30b3\u30fc\u30c9\u3092\u7de8\u96c6\u3059\u308b\u3053\u3068\u3067\u5bfe\u5fdc\u3067\u304d\u305d\u3046\u3067\u3059\u3002<br \/>Simo Ahava \u6c0f\u306e\u30c4\u30a4\u30fc\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"ja\">\n<p lang=\"en\" dir=\"ltr\">There are issues with Google&#39;s Structured Data Testing Tool not interpreting <a href=\"https:\/\/twitter.com\/hashtag\/GoogleTagManager?src=hash&amp;ref_src=twsrc%5Etfw\">#GoogleTagManager<\/a> Custom HTML Tag JSON-LD snippets.<\/p>\n<p>You can fix this by programmatically adding the JSON LD instead of adding it as a &lt;script&gt; block directly.<a href=\"https:\/\/twitter.com\/hashtag\/googletagmanager?src=hash&amp;ref_src=twsrc%5Etfw\">#googletagmanager<\/a> <a href=\"https:\/\/twitter.com\/hashtag\/seo?src=hash&amp;ref_src=twsrc%5Etfw\">#seo<\/a> <a href=\"https:\/\/t.co\/PYDy1hSJzl\">pic.twitter.com\/PYDy1hSJzl<\/a><\/p>\n<p>&mdash; Simo Ahava (@SimoAhava) <a href=\"https:\/\/twitter.com\/SimoAhava\/status\/1001397355403468802?ref_src=twsrc%5Etfw\">2018\u5e745\u670829\u65e5<\/a><\/p><\/blockquote>\n<p class=\"p30-t\">\u305d\u308c\u3067\u3082\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u306f\u3001\u3067\u304d\u308b\u3053\u3068\u306a\u3089\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u3067\u306f\u306a\u304f\u76f4\u63a5\u66f8\u304d\u8fbc\u3080\u3053\u3068\u304c\u63a8\u5968\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300c\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u3068\u304d\u306b\u306f\u3001Google \u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u306f\u4f7f\u308f\u306a\u3044\u307b\u3046\u304c\u3044\u3044\u300d\u3001Google \u306e John Mueller\uff08\u30b8\u30e7\u30f3\u30fb\u30df\u30e5\u30fc\u30e9\u30fc\uff09\u6c0f\u306f\u3001\u3053\u306e\u3088\u3046\u306b\u30a2\u30c9\u30d0\u30a4\u30b9\u3057\u305f\u3002\u8907\u96d1\u3055\u304c\u5897\u3057\u3001\u30c7\u30d0\u30c3\u30b0\u304c\u3088\u308a\u56f0\u96e3\u306b\u306a\u308b\u304b\u3089\u3060\u3002\u3055\u3089\u306b\u3001\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306b\u3082\u6642\u9593\u304c\u304b\u304b\u308b\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1180,7],"tags":[831,1076,1186],"class_list":["post-9594","post","type-post","status-publish","format-standard","category-semantic-search","category-tools","tag-rich-snippets-testing-tool","tag-structured-data","tag-google-tag-manager"],"_links":{"self":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/9594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/comments?post=9594"}],"version-history":[{"count":0,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/9594\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media?parent=9594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/categories?post=9594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/tags?post=9594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}