Skip to content

A module to make integration between your KohanaPHP (v3.x) applications and Google's Analytics API a breeze.

Notifications You must be signed in to change notification settings

Slaver/kohana-analytics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A module to make integration between your KohanaPHP (v3.x) applications and Google's Analytics API a breeze

Fork of KohAnalytics of matoakley for Kohana 3.2. Use GAPI

Configuration

  1. Create config/kohanalytics.php (or copy from module directory)
  2. Add username, password and report_id data

Using

  1. Statistics for monthes: Kohanalytics::instance()->monthly_visit_count()

You can add custom params $start_date, $end_date and $metrics (by default array('pageviews', 'visits'))

  1. Statistics for days: Kohanalytics::instance()->daily_visit_count()

  2. Custom statistics: Kohanalytics::instance()->query('date', array('pageviews', 'visits'), NULL, 100)

About

A module to make integration between your KohanaPHP (v3.x) applications and Google's Analytics API a breeze.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%