{"id":39,"date":"2008-12-21T09:21:32","date_gmt":"2008-12-21T08:21:32","guid":{"rendered":"http:\/\/www.withinweb.com\/info\/?p=39"},"modified":"2012-06-21T10:55:36","modified_gmt":"2012-06-21T10:55:36","slug":"placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller","status":"publish","type":"post","link":"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/","title":{"rendered":"Placing Google Anayltics Javascript code into the template system of PHP-eSeller"},"content":{"rendered":"<p>If you want to track the <a href=\"http:\/\/www,withinweb.com\/phpeseller\/index.php\">PHP-eSeller<\/a> template driven shopping cart pages using Google Anaytic Javascript code then the best place for\u00a0the code is in the file &#8216;footer.htm&#8217; which is located in the \/templates\/ folder.<\/p>\n<p>Just make sure that the Javascript code goes between the &lt;patTemplate:tmpl name=&#8221;footer&#8221;&gt; and &lt;\/patTemplate:tmpl&gt; and not outsite of those tags.<\/p>\n<p>You should be able to test it by just looking at the source of the shopping cart web page when you display it in the browser.\u00a0 You should see the Javascript code somewhere near the bottom of the page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to track the PHP-eSeller template driven shopping cart pages using Google Anaytic Javascript code then the best place for\u00a0the code is in the file &#8216;footer.htm&#8217; which is located in the \/templates\/ folder. Just make sure that the<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/\">Read more <span class=\"screen-reader-text\">Placing Google Anayltics Javascript code into the template system of PHP-eSeller<\/span><span class=\"meta-nav\"> &#8250;<\/span><\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7],"tags":[],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-general-php","category-soe"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Placing Google Anayltics Javascript code into the template system of PHP-eSeller - PHP Web Applications<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Placing Google Anayltics Javascript code into the template system of PHP-eSeller - PHP Web Applications\" \/>\n<meta property=\"og:description\" content=\"If you want to track the PHP-eSeller template driven shopping cart pages using Google Anaytic Javascript code then the best place for\u00a0the code is in the file &#8216;footer.htm&#8217; which is located in the \/templates\/ folder. Just make sure that the&hellip;Read more Placing Google Anayltics Javascript code into the template system of PHP-eSeller &#8250;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/\" \/>\n<meta property=\"og:site_name\" content=\"PHP Web Applications\" \/>\n<meta property=\"article:published_time\" content=\"2008-12-21T08:21:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2012-06-21T10:55:36+00:00\" \/>\n<meta name=\"author\" content=\"paulv\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"paulv\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\\\/\"},\"author\":{\"name\":\"paulv\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"headline\":\"Placing Google Anayltics Javascript code into the template system of PHP-eSeller\",\"datePublished\":\"2008-12-21T08:21:32+00:00\",\"dateModified\":\"2012-06-21T10:55:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\\\/\"},\"wordCount\":114,\"commentCount\":0,\"articleSection\":[\"General PHP\",\"SOE\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\\\/\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\\\/\",\"name\":\"Placing Google Anayltics Javascript code into the template system of PHP-eSeller - PHP Web Applications\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#website\"},\"datePublished\":\"2008-12-21T08:21:32+00:00\",\"dateModified\":\"2012-06-21T10:55:36+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Placing Google Anayltics Javascript code into the template system of PHP-eSeller\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/\",\"name\":\"PHP Web Applications\",\"description\":\"Information and support for products of WithinWeb.com\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\",\"name\":\"paulv\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/author\\\/paulv\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Placing Google Anayltics Javascript code into the template system of PHP-eSeller - PHP Web Applications","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/","og_locale":"en_US","og_type":"article","og_title":"Placing Google Anayltics Javascript code into the template system of PHP-eSeller - PHP Web Applications","og_description":"If you want to track the PHP-eSeller template driven shopping cart pages using Google Anaytic Javascript code then the best place for\u00a0the code is in the file &#8216;footer.htm&#8217; which is located in the \/templates\/ folder. Just make sure that the&hellip;Read more Placing Google Anayltics Javascript code into the template system of PHP-eSeller &#8250;","og_url":"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/","og_site_name":"PHP Web Applications","article_published_time":"2008-12-21T08:21:32+00:00","article_modified_time":"2012-06-21T10:55:36+00:00","author":"paulv","twitter_card":"summary_large_image","twitter_misc":{"Written by":"paulv","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/#article","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/"},"author":{"name":"paulv","@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"headline":"Placing Google Anayltics Javascript code into the template system of PHP-eSeller","datePublished":"2008-12-21T08:21:32+00:00","dateModified":"2012-06-21T10:55:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/"},"wordCount":114,"commentCount":0,"articleSection":["General PHP","SOE"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/","url":"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/","name":"Placing Google Anayltics Javascript code into the template system of PHP-eSeller - PHP Web Applications","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/#website"},"datePublished":"2008-12-21T08:21:32+00:00","dateModified":"2012-06-21T10:55:36+00:00","author":{"@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"breadcrumb":{"@id":"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.withinweb.com\/info\/placing-google-anayltics-javascript-code-into-the-template-system-of-php-eseller\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.withinweb.com\/info\/"},{"@type":"ListItem","position":2,"name":"Placing Google Anayltics Javascript code into the template system of PHP-eSeller"}]},{"@type":"WebSite","@id":"https:\/\/www.withinweb.com\/info\/#website","url":"https:\/\/www.withinweb.com\/info\/","name":"PHP Web Applications","description":"Information and support for products of WithinWeb.com","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.withinweb.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c","name":"paulv","url":"https:\/\/www.withinweb.com\/info\/author\/paulv\/"}]}},"_links":{"self":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":7,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":794,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/39\/revisions\/794"}],"wp:attachment":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/media?parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/categories?post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/tags?post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}