How to add support for Google Analytics in phpBB3 forum

Friend of mine asked me to add support for Google Analytics into his phpBB3 discussion forum so I did and I wanted to share with you how to do it. Here is how to do it "the hacker way" 🙂 login to the FTP and locate this folder: /styles/prosilver/template/ Obviously if you are using different style (template), change it appropriately 🙂 locate overall_header.html and open it just below the: <body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}"> add Read more [...]

How to revoke do not share any data with anyone in Google Analytics

I wanted to start using Google Adwords for one of my websites, though out of cautiousness I selected to not share any of my Google Analytics data with anyone, which does not come in handy when you want to start using Google Adwords :). Obviously I started clicking around in administration and I ended up with searching the Google Analytics help 🙂 at http://support.google.com/analytics/ . As it is a little bit buried I thought it might be a good idea to post it here: Change your data sharing Read more [...]

How to add Google Analytics tracking to any PHP website

Here is a short howto how to make Google Analytics working with your PHP code: 1) Get Google Analytics account - http://www.google.com/analytics/ 2) Add your webpage using wizard. 3) Create a file "analyticstracking.php" and insert following (marked in red) into the file: 4) Update all your .php files by adding this line: <?php include_once("analyticstracking.php") ?> right after the <body> tag in each .php file. 5) Profit! 🙂 Note: It might take some time before Read more [...]