8 Best Next.js Google Analytics Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

ng

next-ga

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
232
Weekly Downloads
2K
Last Commit
2yrs ago
Bundle Size (min+gzip)
7.39KB
Not Tree-Shakeable

@pinjollist/next-with-analytics

Minimalistic analytics helper for Next.js which respects Do Not Track (DNT) headers.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
24
Weekly Downloads
59
Last Commit
10mos ago
Bundle Size (min+gzip)
5.52KB
Tree-Shakeable
ng

@phntms/next-gtm

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
143
Last Commit
N/A
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
na

next-analytics

Next.js HOC to integrate Google Analytics and FB Pixel

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
9
Weekly Downloads
56
Last Commit
3yrs ago
Bundle Size (min+gzip)
8.56KB
Not Tree-Shakeable
nsg

next-simple-google-analytics

Add Google Analytics to your Next.js site in a jiffy

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
52
Last Commit
1yr ago
Bundle Size (min+gzip)
0.90KB
Not Tree-Shakeable
nga

next-google-analytics

Add Google Analytics to your Next.js App in 60 seconds.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
26
Last Commit
N/A
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
nga

@blackbox-vision/next-google-analytics

Integrate Google Analytics in next.js with ease

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
24
Last Commit
N/A
Bundle Size (min+gzip)
N/A
Tree-Shakeable
ng

@lukeshay/next-ga

Adds Google Analytics to your Next.js application. For it to work, you need the environment variable `NEXT_PUBLIC_GOOGLE_ANALYTICS_ID` to be set.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
10
Last Commit
N/A
Bundle Size (min+gzip)
N/A
Tree-Shakeable