GithubHelp home page GithubHelp logo

mediafigaro / google-analytics-api-symfony Goto Github PK

View Code? Open in Web Editor NEW
46.0 46.0 16.0 168 KB

Google Analytics API Symfony Bundle

Home Page: https://mediafigaro.github.io

License: MIT License

PHP 95.66% HTML 4.34%
analytics api google google-analytics symfony symfony-bundle

google-analytics-api-symfony's People

Contributors

kendrick-k avatar mediafigaro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

google-analytics-api-symfony's Issues

Install via composer

Hello, I am installing the bundle via composer, and I get this error:

`iMac-de-dedioweb:dedioweb.com dedioweb$ php composer require mediafigaro/google-analytics-api-symfony
Using version ^1.0 for mediafigaro/google-analytics-api-symfony
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- google/apiclient v2.2.1 requires php >=5.4 -> your PHP version (7.1.7) overridden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
- google/apiclient v2.2.0 requires php >=5.4 -> your PHP version (7.1.7) overridden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
- google/apiclient v2.1.3 requires php >=5.4 -> your PHP version (7.1.7) overridden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
- google/apiclient v2.1.2 requires php >=5.4 -> your PHP version (7.1.7) overridden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
- google/apiclient v2.1.1 requires php >=5.4 -> your PHP version (7.1.7) overridden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
- google/apiclient v2.1.0 requires php >=5.4 -> your PHP version (7.1.7) overridden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
- google/apiclient v2.0.3 requires php >=5.4 -> your PHP version (7.1.7) overridden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
- google/apiclient v2.0.2 requires php >=5.4 -> your PHP version (7.1.7) overridden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
- google/apiclient v2.0.1 requires php >=5.4 -> your PHP version (7.1.7) overridden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
- google/apiclient v2.0.0 requires php >=5.4 -> your PHP version (7.1.7) overridden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
- mediafigaro/google-analytics-api-symfony 1.0 requires google/apiclient ^2.0 -> satisfiable by google/apiclient[v2.0.0, v2.0.1, v2.0.2, v2.0.3, v2.1.0, v2.1.1, v2.1.2, v2.1.3, v2.2.0, v2.2.1].
- Installation request for mediafigaro/google-analytics-api-symfony ^1.0 -> satisfiable by mediafigaro/google-analytics-api-symfony[1.0].

Installation failed, reverting ./composer.json to its original content.`
how to solve this?
thank you in advance

Can't load bundle from AppKernel

I have an issue with your bundle, It's impossible for me to load the bundle from AppKernel.

If I use the statement statued in the doc, new MediaFigaro\GoogleAnalyticsApi\GoogleAnalyticsApi(),
Firstly my IDE don't recognize the path and secondly Symfony returning this error :

The autoloader expected class "MediaFigaro\GoogleAnalyticsApi\GoogleAnalyticsApi" to be defined in file "C:\wamp64\www\leadingame\vendor\composer/../mediafigaro/google-analytics-api-symfony\GoogleAnalyticsApi.php". The file was found but the class was not in it, the class name or namespace probably has a typo.

And if I use the following statement, new MediaFigaro\Analytics\GoogleAnalyticsApi(),
My IDE recognize the path but Symfony returning an error too :

Attempted to load class "GoogleAnalyticsApi" from namespace "MediaFigaro\Analytics".
Did you forget a "use" statement for another namespace?

The problem seem to be really specific to this bundle, no problem with the others, so if anyone have a answer to this issue i'm taking it :)

Thanks per advance!
PokeRstarrr

Implement Dimension

Hi all,
It will fine to get dimension service like metric.
I am just make a fork and i am introduce a new service to get dimensions like ga:browser / ga:user.
Would you like my codes ?
Bye

Depracation of Sensio\Bundle\FrameworkExtraBundle

Hi! Your package is using Sensio\Bundle\FrameworkExtraBundle\Configuration\Route and Sensio\Bundle\FrameworkExtraBundle\Configuration\Template and it is now deprecated. You should change it to with Symfony\Component\Routing\Annotation\Route and Symfony\Component\Routing\Annotation\Template.

other data

The bundle is perfect, it works well.
I wish I could display other data than the default data present in the controller / Services.
Example, display the list of countries, display the map ... but I do not see how to proceed.
Can you explain it to us?
Thank you

Pull more than 1000 results

Hello, sorry if this is obvious, but I looked and couldn't find it. I need to pull more than 1000 results, which is all this function is giving me. Is there a function for paginating past 1000? Or is this a hard limit at this time? My code is pretty straight forward taken from the code samples.

        $data = $analyticsService->getDataDateRangeMetricsDimensions(
            '175227836',       // viewid
            $lastMonthStart,   // date start
            $lastMonthEnd,     // date end
            ['pageviews'],     // metric
            ['pagePath']       // dimension
            //[],              // sorting
            //[],              // filter metric
            //[]               // filter demension
        );

Thank you!

Get detailed data day per day

Hello,

I am trying to build a dashboard that display some graphs like these ones :

analytics

I looked at your DebugController to see how to use the bundle and I successfuly retrieved data between 2 dates. But I get the total, not the detailed data day per day that I can use to render my graphs. That's why I was wondering if there is a way to get the detailed data.

Thank you !

Filter expression or more than one filter, is possible?

Hi! Thanks for all the work.

Im using this Bundle and i don't know how to filter like the web query builder.
I want to filter url's by the word '/articulo/' and whitout the "#" symbol.

In the web query builder i can use a filter expression like this = "ga:pagePath=@/articulo/;ga:pagePath!@#"

Is possible to represent this with this bundle? or any tip on how to introduce this option in GoogleAnalyticsService?

Thanks, David.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.