Skip to content

gitter-badger/GoogleAnalyticsClientBundle

 
 

Repository files navigation

Google Analytics Client Bundle

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published