Discussion in 'White Hat SEO' started by KlaAz0r, Jul 20, 2011.
does any one know how I get Google analytics on my index.php file?
get code from analytics and post it to your header.( between header tags)
AFAIK analytics code should be at the end of page, right after the </body> tag. If youre using wordpress place the code into footer.php
(I read this in google help so it should be correct)
it's not a WP site just only the index.php
put the tracking code inside a file, analytics.php
then before closing ?>
see if it works
Separate names with a comma.