laravel-analytics | A Laravel package to retrieve pageviews and other data from Google Analytics | Analytics library

 by   spatie PHP Version: 5.0.2 License: MIT

kandi X-RAY | laravel-analytics Summary

kandi X-RAY | laravel-analytics Summary

laravel-analytics is a PHP library typically used in Analytics applications. laravel-analytics has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

A Laravel package to retrieve pageviews and other data from Google Analytics
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              laravel-analytics has a medium active ecosystem.
              It has 2893 star(s) with 454 fork(s). There are 86 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              laravel-analytics has no issues reported. On average issues are closed in 34 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of laravel-analytics is 5.0.2

            kandi-Quality Quality

              laravel-analytics has 0 bugs and 0 code smells.

            kandi-Security Security

              laravel-analytics has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              laravel-analytics code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              laravel-analytics is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              laravel-analytics releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed laravel-analytics and discovered the below as its top functions. This is intended to give you an instant insight into laravel-analytics implemented functionality, and help decide if they suit your requirements.
            • Register package .
            • Validate that the analytics config is valid .
            • Create a Google Client
            • Configure the cache .
            • Get the facade accessor .
            • Invalid start date .
            • Thrown when a view ID was not specified .
            • Thrown when credentials file exists .
            Get all kandi verified functions for this library.

            laravel-analytics Key Features

            No Key Features are available at this moment for laravel-analytics.

            laravel-analytics Examples and Code Snippets

            No Code Snippets are available at this moment for laravel-analytics.

            Community Discussions

            QUESTION

            Laravel : Countries with Laravel Analytics
            Asked 2021-May-14 at 13:08

            I'm using Laravel Analytics to get data of the visitors of my application. In my Google Analytics dashboard, every page have it own visits numbers, unique visitors, countries of visitors etc .. like in this image :

            In my web.php, I'm creating a route to test the package :

            ...

            ANSWER

            Answered 2021-May-14 at 12:21

            You're using spatie/laravel-analytics package. As you can see here: spatie laravel analytics - Analytics.php the fetchMostVisitedPages method that you are calling only returns that data.

            Please take a look in github to see more information about this package.

            fetchMostVisitedPages method:

            Source https://stackoverflow.com/questions/67534215

            QUESTION

            Using spatie/laravel-analytics, how do I get page views for a specific pagePath?
            Asked 2020-Nov-26 at 08:24

            I've just started looking at spatie/laravel-analytics, a package for getting data out of Google Analytics API. I'm a bit lost right now though as documentation seems thin... either that or I'm not searching for the right things.

            What I want to do feels like it should be quite simple, get page views for each day over a period for a specific URL.

            My current code block looks like this:

            ...

            ANSWER

            Answered 2020-Nov-26 at 08:24

            In your case, just to replace this:

            Source https://stackoverflow.com/questions/65004966

            QUESTION

            How do I get View ID from Google Analytics 4?
            Asked 2020-Oct-24 at 13:07

            I tried to retrieve all information about my website from GA (Google Analytics). I'm using laravel and this package https://github.com/spatie/laravel-analytics to make my life easier. However, that package requires "View ID" from GA, which I can't help myself to find it. I read this thread https://support.google.com/analytics/thread/15684521?hl=en and I'm guessing that since GA 4 they totally removed the views column from Web + App property (which will be created as a default) (correct me pls). Did anyone had this problem before? Where I can find that "view id"? are there some articles that can help me solve this problem? Any suggestion about better way to achieve my goal?

            ...

            ANSWER

            Answered 2020-Oct-24 at 09:17

            In GA4 there aren't Views so you if you want to use your code (who needs a View), you have to create a Universal Analytics Property.

            You can find it by clicking on Show advanced options (when you create a new property):

            Source https://stackoverflow.com/questions/64510635

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install laravel-analytics

            This package can be installed through Composer.

            Support

            We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/spatie/laravel-analytics.git

          • CLI

            gh repo clone spatie/laravel-analytics

          • sshUrl

            git@github.com:spatie/laravel-analytics.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link