Mobile app version of vmapp.org
Login or Join
Goswami781

: Google Analytic's and Universal PHP Footers 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?

@Goswami781

Posted in: #GoogleAnalytics #Php

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Goswami781

1 Comments

Sorted by latest first Latest Oldest Best

 

@Pope3001725

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme