I don't want to be a pest but geez. I know there are people reading this who understand my question and know the answer. I just was hopeing someone would verify if I understand the instructions.![]()
I don't want to be a pest but geez. I know there are people reading this who understand my question and know the answer. I just was hopeing someone would verify if I understand the instructions.![]()
From what I understand they are saying that the code should be inserted into each page that you need tracked.... so if you want one in particular tracked put it in that template file for that page.... but (as the site is built in php) as I see it if you want them all tracked, just put the code in a tpl that appears in all your pages ie: footer2. EDIT:
tpl_footer.php or tpl_main_page.php or any other that you want.
(for example: copy template_default/common/tpl_footer.php
I assume that any file that starts with "tpl" is a template. I also assume that I should edit any and all "tpl" files that I want to be tracked. Correct?
I just stumbled upon "awstats" on my cPanel. How come when I asked about collecting info about my website traffic, etc nobody mentioned "awstats"? Are "awstats" and "google analytical" similar or are they different animals?
Ok, I am still trying to set up Google Analytics. I have my tracking code nut I am not sure where to paste it. I read that it should go in the footer and also that it should go before the <body> tag. Which is it.
Also, it is said that I should put it in the html code. I do not know which files that is. I know where my templates are even though I have not learned how to use them properly yet. But the template files (stylesheet.css files) are stricktly stylesheets, correct? They are not the actual html files. How do I know which files to insert my tracking code into?
The most likely looking place that I found to put my tracking code is /public_html/index.php. The onlt html tag available was </html>. I placed the code just before that but I do not think it is correct.
I have posted to the Google Analytics forum but got no help. Can someone tell me where to find a </body> tag in a file that effects all pages?
going on this, :quote Google:
In these cases, we suggest moving the Google Analytics tracking code to the <head> portion of your website, after any meta tags and title tags.
includes>templates>YOURTEMPLATE>common>html_header.php
around line 132
add your code just before /head
works fine for me