Guest Posted June 7, 2006 Share Posted June 7, 2006 I want to use various search ad tracking and I need to know which template to edit that will cover all the product pages on my sites. I also need to know which template to edit for the main page. Can any one help with this? Thank you in advance, Rich Quote Link to comment Share on other sites More sharing options...
Guest degsey69 Posted June 7, 2006 Share Posted June 7, 2006 Can you be more specific about what you ae wanting to do? :errm: Quote Link to comment Share on other sites More sharing options...
Guest Posted June 7, 2006 Share Posted June 7, 2006 I need to insert the following code before the <body> tag in order to make it work with google. I also need it on every page that I want tracking for. Here is the code: <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "XX-xxxxxx"; urchinTracker(); </script> Rich I want to use various search ad tracking and I need to know which template to edit that will cover all the product pages on my sites. I also need to know which template to edit for the main page. Can any one help with this? Thank you in advance, Rich The two files which maintain the content on every page are yourskin/StyleTemplates/Global/Index.tpl for every page except the cart part and yourskin/StyleTemplates/Global/Cart.tpl for the cart Quote Link to comment Share on other sites More sharing options...
Guest Posted June 7, 2006 Share Posted June 7, 2006 Andi, Ok, I found it, I'll give it a try and see how that works and let you know. Thanks for your help Rich I havent tried it myself although i really should Open yourskin/StyleTemplates/Global/Index.tpl and find</head> After that but before <body> paste your code. It should then be on every page except your cart page Quote Link to comment Share on other sites More sharing options...
Guest Posted June 7, 2006 Share Posted June 7, 2006 Andi, I need to be corrected. The code has to go in just before </body> and that is where I placed it. It appears to be working correctly. Thanks again, Rich Andi, Ok, I found it, I'll give it a try and see how that works and let you know. Thanks for your help Rich I havent tried it myself although i really should Open yourskin/StyleTemplates/Global/Index.tpl and find</head> After that but before <body> paste your code. It should then be on every page except your cart page Quote Link to comment Share on other sites More sharing options...
roban Posted June 7, 2006 Share Posted June 7, 2006 You might want to put yor analytic code in cart.tpl as well. That's what I did with mine for more accurate tracking. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 8, 2006 Share Posted June 8, 2006 You might want to put yor analytic code in cart.tpl as well. That's what I did with mine for more accurate tracking. Done, thanks Rich Quote Link to comment Share on other sites More sharing options...
Guest Posted June 8, 2006 Share Posted June 8, 2006 I have this installed on two of my sites and it works like a dream with some amazing facts and figures coming from it and when link to adwords and other campaigns is a website owners dream. Sign up for anayltics at google visit .org i think and get the template code to insert into two files. Then what you need to do is insert in the main index.php file before the</body> tag and voila google will find it and track your visitors. It is that easy and a killer addition to any site. Quote Link to comment Share on other sites More sharing options...
SemperFi Posted June 27, 2006 Share Posted June 27, 2006 Added code to : global/index.tpl and global/cart.tpl Also did the modifications to content/confirmed.tpl and and includes/content/confirmed.inc.php E-commerce set to on Site set as http://www.semperfiphotography.com/ Default page set as index.php When using check trackign status, getting this still: Tracking Not Installed (Last checked: 2006-06-27 11:46 AM PST.) The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website. Any ideas? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.