Git Product home page Git Product logo

googleanalyticsbundle's People

Contributors

chasen avatar deguif avatar gpenverne avatar mykiwi avatar nyholm avatar sergiostrampelli avatar th3mouk 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  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

googleanalyticsbundle's Issues

Use of GuzzleHttp\Pool

The Guzzle function sendAll is deprecated. We need to start using the GuzzleHttp\Pool

Can't install this bundle in Symfony 4.2 or 4.3

Hi there!

I am very interested in using this bundle for our project but we couldn't achieve to install it and make it work.

So I tried to reproduce our error in a brand new project.
Here are the step I followed:

  • symfony new httpclient
  • composer require symfony/maker-bundle
  • composer require template
  • composer require annotations
  • php bin\console make:controller
  • composer require happyr/google-analytics-bundle
  • composer require php-http/curl-client guzzlehttp/psr7 php-http/message

-> didn't work because of the error message:

Could not find resource using any discovery strategy. Find more information at http://docs.php-http.org/en/latest/discovery.html#common-errors

  • composer require php-http/httplug-bundle php-http/curl-client guzzlehttp/psr7
  • composer require php-http/guzzle6-adapter

at this point, the kernel is compiling correctly and we created the branch master of our test project

Here is the error I have:

Argument 2 passed to Happyr\GoogleAnalyticsBundle\Http\HttpClient::__construct() must be an instance of Psr\Http\Message\RequestFactoryInterface, instance of Nyholm\Psr7\Factory\HttplugFactory given, called in C:\www\sportfinder\httpclient\var\cache\dev\ContainerIewfoAf\getTrackerService.php on line 14

Because the bundle still wasn't working, I tried to use Symfony HttpClient in the other branch use-symfony-client

  • git checkout use-symfony-client
  • composer require symfony/http-client
  • composer require psr/http-client
  • composer require nyholm/psr7

Here is the error:

Argument 2 passed to Happyr\GoogleAnalyticsBundle\Http\HttpClient::__construct() must be an instance of Psr\Http\Message\RequestFactoryInterface, instance of Nyholm\Psr7\Factory\HttplugFactory given, called in C:\www\sportfinder\httpclient\var\cache\dev\ContainerD52DYTq\getTrackerService.php on line 14

At this point, I honestly don't know what to do :s
I'm here to help with my limited knowledge of php http client ecosystem.

Best regards,
Benjamin

"doctrine_cache.providers.apc_cache"

Hello everyone!
i configured a GoogleAnaliticsBundle and doctrineCacheBundle as saying in the documentatio of each bundle but i got this error:

[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
The service "happyr.google.analytics.data_fetcher" has a dependency on a no
n-existent service "doctrine_cache.providers.apc_cache".
any help will be aprecieted.

Docs

Thanks for your work! It would be nice to have a little doc how to run your bundle ;-)

Use the last guzzlehttp library

I'm trying to implement this bundle in a project that is already using Guzzle library version 6.1.

This makes this bundle impossible to install due it needs the version ~5.0.
Composer throws the next errors:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install happyr/google-analytics-bundle 3.2.2
    - Conclusion: don't install happyr/google-analytics-bundle 3.2.1
    - Conclusion: remove guzzlehttp/guzzle 6.1.1
    - Installation request for happyr/google-analytics-bundle ^3.2 -> satisfiable by happyr/google-analytics-bundle[3.2.0, 3.2.1, 3.2.2].
    - Conclusion: don't install guzzlehttp/guzzle 6.1.1
    - happyr/google-analytics-bundle 3.2.0 requires guzzlehttp/guzzle ~5.0 -> satisfiable by guzzlehttp/guzzle[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0].
    - Can only install one of: guzzlehttp/guzzle[5.0.0, 6.1.1].
    - Can only install one of: guzzlehttp/guzzle[5.0.1, 6.1.1].
    - Can only install one of: guzzlehttp/guzzle[5.0.2, 6.1.1].
    - Can only install one of: guzzlehttp/guzzle[5.0.3, 6.1.1].
    - Can only install one of: guzzlehttp/guzzle[5.1.0, 6.1.1].
    - Can only install one of: guzzlehttp/guzzle[5.2.0, 6.1.1].
    - Can only install one of: guzzlehttp/guzzle[5.3.0, 6.1.1].
    - Installation request for guzzlehttp/guzzle == 6.1.1.0 -> satisfiable by guzzlehttp/guzzle[6.1.1].

Is it possible to use the 6.1 guzzlehttp version?

avoiding creation of client sessions

Currently when there is no _ga cookie then ClientIdProvider generates one. This makes browsers with ublock appear in analytics without any source/referrer and without any frontend pageviews and disrupt the statistics.

It would be great to have configuration option to make tracker ignore events when there is no cid

Currently ClientIdProvider::getClientId() is annotated with @return false|string but it seems that it is expected to return string and always returns string

New tag for master updates

Is it possible to create a new tag please?
On master you re compat SF ^5 but your last tag is compat SF^4.

Thanks

PHP 8 support

Hi there,

I'm using this bundle for my website, and I'd like to upgrade to PHP 8.
Unfortunately, the constraint for php is ^7.1 in composer.json.

Do you plan to make the bundle compatible with php 8?

Additional, I ran a check on bundle sources using this and no incompatibility was detected, pretty good news.

Regards,

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.