kairos / google-analytics-client-bundle
Symfony 2 bundle. Get data from google analytics
1.0.6
2015-07-08 16:21 UTC
Requires
- php: >=5.4.0
- doctrine/cache: ~1.3
- guzzle/guzzle: ~3.0
- symfony/framework-bundle: ~2.1
Requires (Dev)
- phpunit/phpunit: ~4.2
This package is not auto-updated.
Last update: 2024-12-21 17:41:28 UTC
README
![Gitter](https://badges.gitter.im/Join Chat.svg)
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
Todos
- Add Tests
License
Acknowledgements
Thanks to Widop Google Analytics Bundle where i've taken information.