Visible stat from Google Analytics

From my old blogĀ Extract data from google analytic with PHP makes me wanna write another script to show number of pageviews on the web for all the world to see. It’s actually an old school “web counter” as we know it and since normally you can’t just extract pageviews data from google analytics to display on your website I have to make use of my old GAAPI class to extract data to create the counter, see example below.

GA Visible Stat

Read more

Extract data from google analytic with PHP

My PHP class to extract data from Google Analytics API to show on your own website.
Using:

  • PHP
  • cURL to connect to Google Analytics Data Extract API
  • PHP DOMDocument to parse XML
  • Google Graph API to show analytic data

Screenshot:

Google Analytic Data Export API with PHP

Read more

from table to div

An easy way to change your html layout from table to css/div for those who still using “old school html table layout”

First, let’s look at the table:

Table Layout


HTML code

This is Header
Main Menu-Menu1 Content goes here!This is content!

Looks simple and familiar enough, but is it the best? How about we change it into css/div layout.

Read more

ie6.png !

.png files format is essential in today’s website builder mainly because its give us a real transparency which is far better than .gif

Arise our problem. IE 6. Same old pal who loves to give us headache developing website but we can’t just forget it because number of ie6 users is still significant, at least for my sites.

The problem with ie6 this time is that it cannot display .png transparency properly. For those who don’t know about this problem please see example below.

Original PNG File

IE7

IE6 !!!

As we can see, ie6 image transparency is not really transplant.

Read more