jerry1962 Posted June 6, 2011 Share Posted June 6, 2011 Hey folks late night again trying to find where i paste the following code, my site If someone can point me in the right direction it would be great. As always thanks for your time and your help. Copy the following code, then paste it onto every page you want to track immediately before the closing </head> tag. i cant find the </head> tags??? <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-23795038-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> Link to comment Share on other sites More sharing options...
♥14steve14 Posted June 6, 2011 Share Posted June 6, 2011 I use that google code, but in osc2.2. I have it pasted into the footer file after the last line of code. I see no reason why it cant be the same in 2.3.1. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
jerry1962 Posted June 6, 2011 Author Share Posted June 6, 2011 I use that google code, but in osc2.2. I have it pasted into the footer file after the last line of code. I see no reason why it cant be the same in 2.3.1. Link to comment Share on other sites More sharing options...
jerry1962 Posted June 6, 2011 Author Share Posted June 6, 2011 thanks Steve ill give that a try, i kept searching the site and found that some one also put it in the includes/template_top. what do you think ? Link to comment Share on other sites More sharing options...
multimixer Posted June 6, 2011 Share Posted June 6, 2011 Go in your admin to modules>header tags, click “install”, select the google analytics module, install it, and then add your google number to the field that say so. My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
jerry1962 Posted June 6, 2011 Author Share Posted June 6, 2011 Go in your admin to modules>header tags, click “install”, select the google analytics module, install it, and then add your google number to the field that say so. Link to comment Share on other sites More sharing options...
jerry1962 Posted June 6, 2011 Author Share Posted June 6, 2011 WOW right in front of my eyes thanks that is great again thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.