
Analytics
Pluggable analytics library
Created & launched the react hooks for analytics!
Demo: https://www.youtube.com/watch?v=C_1ced3l9cU
Example: https://github.com/DavidWells/use-analytics-with-react-router-demo
Docs: https://getanalytics.io/utils/react-hooks/
React hooks for analytics. This library adds some convenience methods when working with React & makes it a little easier to pass around the analytics instance while instrumenting your application.
I added a plugin for Simple analytics to make it easier for folks to integrate with additional marketing tools & add other custom logic to their analytics setup
https://getanalytics.io/plugins/simple-analytics/
import Analytics from 'analytics'
import simpleAnalyticsPlugin from 'analytics-plugin-simple-analytics'
const analytics = Analytics({
app: 'awesome-app',
plugins: [
// Load simple analytics! 🎉
simpleAnalyticsPlugin(),
]
})
Also launched on their docs site https://docs.simpleanalytics.com/install-simple-analytics-via-analytics-package 🎉
2 Likes
Comment
Everyday I've been tweeting out a link about the open source library and the different things you can do with it.
Using carbon.sh for pretty code screenshots
Links:
I'm thinking about starting a mailing list for releases too. Who knows just getting started!
2 Likes
Comment
Over the past 2 weekends I built a docs site for an open source project I have been working on.
https://www.npmjs.com/package/analytics
The site is using Gatsby + react + markdown to generate all the pages and using algolia for the snappy site search.
3 Likes
Comment
About
Analytics is a lightweight, extendable analytics library designed to work with any third party analytics provider to track page views, custom events, & identify users. I built analytics to scratch my own itch 😃

Comment