vue-analytics | Google Analytics plugin for Vue | Analytics library

 by   MatteoGabriele JavaScript Version: v5.22.1 License: MIT

kandi X-RAY | vue-analytics Summary

kandi X-RAY | vue-analytics Summary

vue-analytics is a JavaScript library typically used in Analytics, Vue applications. vue-analytics has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can install using 'npm i vue-ecommerce' or download it from GitHub, npm.

:warning: Sorry but vue-analytics is not longer maintained. I would suggest you to switch to vue-gtag. With love, the guy who made the package.

            kandi-support Support

              vue-analytics has a medium active ecosystem.
              It has 1804 star(s) with 140 fork(s). There are 23 watchers for this library.
              It had no major release in the last 12 months.
              vue-analytics has no issues reported. On average issues are closed in 36 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of vue-analytics is v5.22.1

            kandi-Quality Quality

              vue-analytics has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              vue-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

              vue-analytics releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed vue-analytics and discovered the below as its top functions. This is intended to give you an instant insight into vue-analytics implemented functionality, and help decide if they suit your requirements.
            • Track route and tracking routes
            Get all kandi verified functions for this library.

            vue-analytics Key Features

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

            vue-analytics Examples and Code Snippets

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

            Community Discussions


            Vuetify CSS missing when i build for production
            Asked 2021-Feb-20 at 16:25

            We purchased a web app written in Vue from someone and we developing to change/improve it. One thing we added was Vuetify so we can use the Vuetify elements and everything has been working great while in development mode, but when we build for production the CSS for Vuetify elements is missing.

            I have searched for this online already and have already tried what everybody is suggesting without any luck.

            Anybody has an idea of what could be wrong and why npm run build would be missing some of the CSS?

            What's weird is that all the UI functionality for Vue elements is working perfectly, just the CSS is missing.

            Please see code samples below.




            Answered 2021-Feb-20 at 16:25

            It's a little tough to understand what is missing where. If you think that is just missing then please try adding css onto the HTML file from the cdn and check the working.



            How can I properly setup Google Analytics in my Vue website?
            Asked 2021-Feb-16 at 23:32

            I have 1 component called calculator.vue and in my main.js I have the code for the plugin, like below:



            Answered 2021-Feb-16 at 23:32

            As told here:

            his plugin will stop receiving feature requests. I will only spend time for important bug fixes. Google moved from analytics.js to its new gtag.js library and I've created a new plugin called vue-gtag. I suggest you to start using that one if you are about to create a new project.

            You can see an example here:



            Error on importing VueAnalytics to main.ts in Vue CLI (Vue3)
            Asked 2020-Dec-05 at 10:13

            The following error message is given:

            "Argument of type 'typeof VueAnalytics' is not assignable to parameter of type 'Plugin_2'. Type 'typeof VueAnalytics' is not assignable to type '{ install: PluginInstallFunction; }'. Types of property 'install' are incompatible."

            What am I doing wrong ? Thank you very much for your help.



            Answered 2020-Dec-05 at 10:13

            This error indicates that the plugin was built for Vue 2 and is not compatible with Vue 3. Checking the package's npm page reveals that there have been no updates in the last year. The requirement also lists Vue 2.

            The last Github commit was in January.

            Following some links from the package's Github leads to this package which looks like it may work with Vue 3.



            What's the difference between GA pageview and screenview?
            Asked 2020-Sep-26 at 08:27

            I was wondering what's the difference between pageview and screenview.

            This GA library vue-analytics 's trackView methods use screenview.

            That's confusing to me.

            And I have seen people track pageview and screenview at the same time(each route will send these two)

            So what's the difference between these two?



            Answered 2020-Sep-26 at 08:27

            Screenview in Google Analytics represent content users are viewing within an app. The equivalent concept for a website is pageview. Measuring screen views allows you to see which content is being viewed most by your users, and how are they are navigating between different pieces of content.


            Until some time ago there was a dedicated Property for app interactions, where to send the screenview and which had slightly different reports from the Property for the web. This Property has been deprecated. Now the apps use Firebase Analytics:


            To get web and mobile app interactions there is a new Analytics Property based on a new data model, which is called: App + Web:




            What causes this vue-router async component error - TypeError: undefined is not an object (evaluating 't.__esModule')?
            Asked 2020-Feb-18 at 08:02

            I notice a lot of errors in Sentry with the following stack trace:



            Answered 2020-Feb-18 at 08:02

            I forked the vue-router library and patched resolveAsyncComponents with this line:


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


            No vulnerabilities reported

            Install vue-analytics

            You can install using 'npm i vue-ecommerce' or download it from GitHub, npm.


            Nope! GA4 is only supported by the new gtag.js library which you can find in the vue-gtag package. This package only uses analytics.js which doesn't provide that feature.
            Find more information at:

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

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone MatteoGabriele/vue-analytics

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Reuse Pre-built Kits with vue-analytics

            Consider Popular Analytics Libraries


            by apache


            by influxdata


            by matomo-org


            by statsd


            by grafana

            Try Top Libraries by MatteoGabriele


            by MatteoGabrieleJavaScript


            by MatteoGabrieleJavaScript


            by MatteoGabrieleJavaScript


            by MatteoGabrieleJavaScript


            by MatteoGabrieleJavaScript