Skip to content

Commit

Permalink
added readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chonthu committed Jan 5, 2012
1 parent 469513a commit 2b8e96d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
How to Use

$this->load->library('ga_api');

// Set new porfile id
$this->ga = $this->ga_api->init(array('profile_id' => 'ga:182918291281'));

// grab google data
$data = $this->ga
->dimension('adGroup , campaign , adwordsCampaignId , adwordsAdGroupId')
->metric('impressions')
->limit(30)
->get_object();
2 changes: 1 addition & 1 deletion ga_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/* Name : gap_api.php
* Description : Codeigniter Library Class for Google Analytics API
* Creation : 27/06/2010
* Creation : 01/05/2011
* Version : 0,2
* Author : Nithin Meppurathu
*/
Expand Down

0 comments on commit 2b8e96d

Please sign in to comment.