Download the PHP package i-like-it-solutions/google-analytics-api without Composer
On this page you can find all versions of the php package i-like-it-solutions/google-analytics-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package google-analytics-api
GoogleAnalytic
A Symfony project created on July 4, 2017, 06:14 pm.
Bundle Configuration to set Google Analytics Accounts
Add following code in app/config/config.yml assetic: debug: '%kernel.debug%' use_controller: '%kernel.debug%' filters: cssrewrite: ~
Add following code in app/config/routing.yml google_analytics_api: resource: "@GoogleAnalyticsApiBundle/Resources/config/routing.yml" prefix: /
Register the following bundle in AppKernal.php
new Symfony\Bundle\AsseticBundle\AsseticBundle(), new iLikeItSolutions\GoogleAnalyticsApiBundle\GoogleAnalyticsApiBundle(),
Client Secret File steps:
- Go to Google API console https://console.developers.google.com
- Create APP and Activate the Analytics API in the Google API Console.
- Redirect URI http://localhost:8000/callback
- After save Download JSON file and renamed it to client_secrets.json
- Copy and paste client_secrets.json file to bundle location "iLikeItSolutions/GoogleAnalyticsApiBundle/Data/"
Google Analytics Account View ID steps:
- Go to Google analytics site and login https://analytics.google.com
- Click on Top left Corner to see accounts then click Account Name >> Click Property Name >> then Copy View ID (Numeric) from Views Tab
- Now Paste above View ID into bundle file path "iLikeItSolutions/GoogleAnalyticsApiBundle/Resources/config/service.yml" variable ga_view_id
All versions of google-analytics-api with dependencies
google/apiclient Version ^2.0
symfony/framework-bundle Version >=2.3
symfony/twig-bundle Version >=2.0
twig/twig Version >=1.6
symfony/assetic-bundle Version ^2.8