If I have a universal Footer, include('footer.php'); on my page - will the google analytic's script I just put there be able to track my page views?
Tell me more
×
Webmasters Stack Exchange is a question and answer site for
pro webmasters. It's 100% free, no registration required.
|
|
||||
|
|
|
Google Analytics runs in the browser after the PHP has generated the page's HTML. So if you use a PHP include to include a common footer containing the Google Analytics code it will track the page view for all of those pages. |
|||
|