Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 982 Bytes

README.md

File metadata and controls

24 lines (13 loc) · 982 Bytes

kohana3.3-analytics

Модуль для работы с google analytics API.

Основная функция модуля - получение количества просмотров конкретной страницы по её url.

Интеграция приложения на KohanaPHP (v3.3.x) и Google's Analytics API.

О модуле analytics для kohana 3.3

@use GAPI

Configuration

  1. Copy analytics config file config/analytics.php from module directory to application/config/analytics.php
  2. Add username, password and report_id data

Using

  1. Get count page views by page uri: Analytics::instance()->getCountPageViews($pageUri)

Module not working since 2015, September when google changed access to his analytics API.