I've a big site around 1000 pages and want to upload Google analytics code on all pages. I know that you have to put your analytics code on each page to get exact traffic statistics. Is their any short way to upload codes on each page as by manually uploading analytics code on each page will take huge time.
I see many websites which have a single page for head section of all pages. find out if your site has this kind of any page and put your code there. Otherwise you have to add manually in each page.
OR open all of them in NotePad ++ (guessing you have Windows, you must download notepad ++) then CTRL + H, replace </head> with *your tracking code* + </head> It will tell it did 'n' of changes. N = number of webpages you have. (you must open all with Notepad ++, don't worry it will be 1 window with multiple tabs) Then re-upload.
Just open the file footer or header and place the code there. It will track all the page visits. But try avoiding placing it on header. Instead place it on footer.
Well if you have a huge site with around a 1000 pages and they share a common header of footer page that appears on every page of the site, then just Copy the GA code and paste it just above the <body> tag in the header page.