10 Best JavaScript Google Analytics Libraries

List hand-picked by Openbase Experts
Learn More

ember-metrics

Send data to multiple analytics integrations without re-implementing new API

12.8K
363
No support
MIT
react-ga

React Google Analytics Module

446K
4.9K
Built-in
Apache-2.0
tui-grid

🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!

1.6K
2.1K
Built-in
MIT
nga

An easy way to use and configure Google Analytics on Angular 6+ applications

17.9K
99
Built-in
MIT
gatsby-plugin-google-tagmanager

The fastest frontend for the headless web. Build modern websites with React.

87.7K
54.1K
No support
MIT
gatsby-plugin-google-analytics

The fastest frontend for the headless web. Build modern websites with React.

46.6K
54.1K
Built-in
MIT
@shopify/react-google-analytics

A loosely related set of packages for JavaScript/TypeScript projects at Shopify

12.3K
1.5K
Built-in
MIT
nga

Google Analytics for Next.js

11.3K
207
Built-in
MIT
gatsby-plugin-guess-js

The fastest frontend for the headless web. Build modern websites with React.

188
54.1K
No support
MIT
ut

Templates and boilerplates for fullstack projects customised to your needs.

48
83
No support
universal-analytics

A node module for Google's Universal Analytics and Measurement Protocol

923K
950
DefinitelyTyped
MIT
angulartics2

Vendor-agnostic analytics for Angular2 applications.

44.4K
1K
Built-in
MIT
@segment/analytics-react-native-google-analytics

The hassle-free way to add analytics to your React-Native app.

213
319
No support
MIT
vg

Global Site Tag plugin for Vue (gtag.js)

83.8K
662
Built-in
MIT
@vuepress/plugin-google-analytics

📝 Minimalistic Vue-powered static site generator

83.1K
21.1K
No support
MIT
va

Google Analytics plugin for Vue

75K
1.8K
Built-in
MIT
g4r

google analytics 4 wrapper for react

18.9K
104
Built-in
MIT
@impervaos/google-analytics-spa

This is a wrapper for Google Analytics to be used in web clients, oriented to single page applications (something that google doesn't do oob), like automatically reporting requests performance, navigation links, redux plugin etc

603
11
No support
MIT
vg

Simple implementation of Google Tag Manager in Vue.js 2.0

35K
235
No support
Apache-2.0
@nuxtjs/google-analytics

Google Analytics Module

30.7K
605
Built-in
MIT
angulartics

Analytics for AngularJS applications.

24.2K
2K
DefinitelyTyped
angulartics-google-analytics

Google Analytics plugin for Angulartics

12.8K
134
No support
MIT
vue-multianalytics

A vue multianalytics plugin

11K
190
No support
MIT
redux-segment

Segment.io analytics integration for redux.

10.2K
519
No support
MIT
gpg

Gatsby plugin to add Google Analytics (V4 is supported), Google Tag Manager, Facebook Pixel, TikTok Pixel and Hotjar in a GDPR form to your site.

8.7K
87
Built-in
MIT
gpg

Gatsby plugin for the Google Marketing Platform (GTM, GA, GO)

5.1K
13
No support
MIT
aga

Google Analytics tracking for your AngularJS apps

3.1K
656
DefinitelyTyped
MIT
gpg

Gatsby plugin to add Google Analytics gtag.js (replacement for analytics.js) to a site.

2.7K
28
No support
MIT
ag

🔖 Google Analytics gtag.js for Angular

2.1K
97
Built-in
MIT
ea

Google Analytics integration for use with React Native apps built on Expo

1.9K
275
Built-in
MIT
cpg

Cordova (PhoneGap) Plugin to connect to the native Google's Universal Analytics SDK 3.0

1.8K
695
Built-in
MIT
gl

Small, cacheable subset of Google Analytics JS client

1.6K
No support
MIT
ng

Next.js HOC to integrate Google Analytics on every page change

1.3K
233
No support
MIT
react-native-google-analytics-bridge

React Native bridge to the Google Analytics libraries on both iOS and Android.

1.2K
1.2K
Built-in
MIT
react-google-analytics

Google analytics component

1.1K
106
No support
MIT
@onehilltech/ember-cli-google-analytics

a collection of Google services as an Ember CLI add-on

31
11
No support
Apache-2.0
pjf

Web performance library for measuring all performance vitals metrics

4
2.7K
No support
MIT
ecg

Ember CLI addon that adds the Google Analytics tracking code

903
38
No support
MIT
vu

Google Universal Analytics support in Vue.js

803
217
No support
Apache-2.0
sga

<a href="https://beyonk.com"> <br /> <br /> <img src="https://user-images.githubusercontent.com/218949/144224348-1b3a20d5-d68e-4a7a-b6ac-6946f19f4a86.png" width="198" /> <br /> <br /> </a>

667
No support
ag

Google Analytics for your Angular application

598
10
Built-in
MIT
rua

📈 React hook for loading the Google Analytics Embed API.

464
11
Built-in
MIT
rng

Google Analytics for React Native!

429
No support
rac

📊 React components to easily embed Google Analytics charts on your React site. Uses the Google Analytics Embed API.

295
18
Built-in
MIT
vg

Google Analytics for Vue.js

275
142
No support
MIT
rga

React google analytics with support for react-router

207
116
No support
MIT
@phntms/next-gtm

A lightweight Next library to implement custom Google Tag Manager events.

196
4
No support
MIT
nsg

A simple to use NodeJs package for the Google Analytics Reporting API

147
10
No support
MIT
gpg

GDPR conform analytics tracking for Gatsby website

134
14
No support
MIT
raw

Embed Google Analytics widgets in your React applications.

111
36
No support
MIT
Description
Author
License
Type Definitions
ESM Support
Tree Shakeable
Popularity
Downloads/wk
GitHub Stars
Reviews
User Rating
Voted Good Docs
Voted Easy of Use
Voted Performant
Top Positive Review
Top Negative Review
Issues
Total Issues
Open Issues
Avg Time to Close
Pull Requests
Total Pull Requests
Open Pull Requests
Avg Time to Merge
Community
Maintainers
Contributors
Contributors with 3+ commits
Top Committers
GitHub Forks
Versions
# of Versions
Latest
Next
Beta
Newest
Oldest
Major Every
Minor Every
Patch Every
Dependencies
Dependencies
Dev Dependencies
Links
More Info
README
Tutorials
Install Command
There's Nothing Here
No packages are selected.
Select a few packages to compare.