I am not really a php guy, so please bear with me....
I was asked by a friend who does some seo for people to include Google Analytics in a site he was doing and the site is in php. I read that it could be installed in either the header.php or footer.php. I went for the footer because of how they set up the includes files but it apparently isnt working. I checked some resources online and it says that if it's in the header it needs to be before the closing head tag, if in footer then before the closing body tag. When I look at where the include header is, its after the first body tag and inside the first div. They put all the meta info in each page, the header.php only contains some navigation and search bar elements. The footer is included before the last closing div, so that wouldn't pull the GA script in the right spot either. I am assuming this is why no analytics are registering. Does anyone have insight on this? Should I rearrange the includes? the site is 5starinks.com

indexfooter.pngindexphp.jpg