{"id":1821,"date":"2020-09-15T16:02:20","date_gmt":"2020-09-15T08:02:20","guid":{"rendered":"https:\/\/help.ptengine.jp\/?post_type=docs&#038;p=1821"},"modified":"2021-04-19T13:50:45","modified_gmt":"2021-04-19T05:50:45","slug":"google-tag-manager","status":"publish","type":"docs","link":"https:\/\/help.ptengine.com\/docs\/google-tag-manager\/","title":{"rendered":"Install tracking code &#8211; Google Tag Manager"},"content":{"rendered":"<p>Copy Ptengine\u2019s tracking code.<br \/>\nLog into your Google Tag Manager account.<br \/>\nClick <strong>Add a new tag<\/strong><\/p>\n<p><img src=\"https:\/\/help.ptengine.com\/wp-content\/uploads\/2020\/09\/Google-Tag-Manager-01-300x104.png\" alt=\"\" \/><\/p>\n<p>on the overview page, or <strong>click New<\/strong> in the tag from the drop-down.<\/p>\n<p><img src=\"https:\/\/help.ptengine.com\/wp-content\/uploads\/2020\/09\/Google-Tag-Manager-02-300x99.png\" alt=\"\" \/>****<\/p>\n<p>Enter Ptengine as the Tag Name and choose <strong>Custom HTML Tag<\/strong> and continue.<\/p>\n<p><img src=\"https:\/\/devhelp.ptengine.com\/wp-content\/uploads\/2020\/09\/Google-Tag-Manager-03-300x151.png\" alt=\"\" \/><\/p>\n<p>Paste the Ptengine Tracking Code in the HTML field and continue.<\/p>\n<p><img src=\"https:\/\/help.ptengine.com\/wp-content\/uploads\/2020\/09\/Google-Tag-Manager-04-300x169.png\" alt=\"\" \/><\/p>\n<p>Click<strong> All pages<\/strong> to make sure the Ptengine code loads on all pages and create a tag.<\/p>\n<p><img src=\"https:\/\/help.ptengine.com\/wp-content\/uploads\/2020\/09\/Google-Tag-Manager-05-300x76.png\" alt=\"\" \/><\/p>\n<p>Save the new tag and then click  <strong>Publish<\/strong> on the right corner to make the tag live.<\/p>\n<p><strong>Note<\/strong>: Make sure the code is placed and repeated on all the pages you want, because if not it will defeat the function of the code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Copy Ptengine\u2019s tracking code. Log into your Google Tag&hellip;&nbsp;<a href=\"https:\/\/help.ptengine.com\/docs\/google-tag-manager\/\" class=\"\" rel=\"bookmark\">\u9605\u8bfb\u66f4\u591a &raquo;<span class=\"screen-reader-text\">Install tracking code &#8211; Google Tag Manager<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"doc_category":[3],"doc_tag":[],"_links":{"self":[{"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/docs\/1821"}],"collection":[{"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/comments?post=1821"}],"version-history":[{"count":19,"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/docs\/1821\/revisions"}],"predecessor-version":[{"id":9995,"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/docs\/1821\/revisions\/9995"}],"wp:attachment":[{"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/media?parent=1821"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/doc_category?post=1821"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/doc_tag?post=1821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}