kairos/google-analytics-client-bundle

Symfony 2 bundle. Get data from google analytics

1.0.6 2015-07-08 16:21 UTC

This package is not auto-updated.

Last update: 2024-04-13 14:02:34 UTC


README

![Gitter](https://badges.gitter.im/Join Chat.svg)

Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight

This bundle provides a way to get google analytics data using the certificate-based authentication with google analytics.

Documentation

Bundle setup

Install the bundle via composer :

"require": {
    ...
    "kairos/google-analytics-client-bundle": "1.0.0",
    ...
}

Register your bundle in your AppKernel.php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            ...
            new Kairos\GoogleAnalyticsClientBundle\KairosGoogleAnalyticsClientBundle(),
            ...
        );
    ....
    }
}

Config for your config.yml :

kairos_google_analytics_client:
    gapi_id: xxx
    gapi_account: xxx
    oauth:
        client_email: xxx@xxx
        private_key: DIR/xxx.p12

Usage

Usage

Todos

  • Add Tests

License

Mozilla Public License 2.0

Acknowledgements

Thanks to Widop Google Analytics Bundle where i've taken information.