mediafigaro / google-analytics-api-symfony Goto Github PK
View Code? Open in Web Editor NEWGoogle Analytics API Symfony Bundle
Home Page: https://mediafigaro.github.io
License: MIT License
Google Analytics API Symfony Bundle
Home Page: https://mediafigaro.github.io
License: MIT License
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
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
symfony 3
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
it's a connection problem?
Invalid JWT: Token must be a short-lived token and in a reasonable timeframe
{
"error": "invalid_grant",
"error_description": "Invalid JWT: Token must be a short-lived token and in a reasonable timeframe"
}
can you help me?
Thanks.
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.
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
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!
Hello,
I am trying to build a dashboard that display some graphs like these ones :
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 !
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.
Could you show me please the way to fetch data for a specific url ?
For example /example-page
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.