Announcement

Collapse
No announcement yet.

Google Analytics and php

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Google Analytics and php

    Hi all i was wondering if there is a way to put the google analytic code in my footer.php instead of adding it to all of my pages manually.

    Will love to find a way

    Thansk in advance to all who have an idea..

    Aaron

  • #2
    Re: Google Analytics and php

    please let me know if i should of asked this question in a differnt threzad as i am new

    thanks

    Comment


    • #3
      Re: Google Analytics and php

      Im assuming that Google Analytics is just some Javascript code that you would add to any page, then yes you can add it to your footer.php and just use a php include at the bottom of each of your pages.

      <?
      include("footer.php");
      ?>

      Register/Login Script
      Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

      Comment


      • #4
        Re: Google Analytics and php

        thanks i just aded it to html box in the footer.php.

        Aaron

        Comment

        Working...
        X