@every-analytics/react-analytics-provider
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

React Analytics Provider

Super convenient analytics provider for React

  • 💙 Typescript support
  • 👨‍👩‍👧‍👦 GA4 support
  • 🏃 Currently maintaining

1. Getting Started

npm i --save @every-analytics/react-analytics-provider
# or
yarn add @every-analytics/react-analytics-provider

2. Usage

You can check examples here

import {AnalyticsProvider} from '@every-analytics/react-analytics-provider';

<AnalyticsProvider
  onInitialize={() => console.log('initialized')}
  onPageView={(params) => console.log('pageview', params)}
  onEvent={(name, params) => console.log('event', name, params)}
  onClick={(name, params) => console.log('click', name, params)}
  onSetUserId={(userId) => console.log('setUserId', userId)}
>
  <App />
</AnalyticsProvider>

3. Contributors

This project exists thanks to all the people who contribute. [Contributing]


MiryangJung

⚠️

Choi Sumin

📖 🚇 💻 👀 ⚠️

HyojinKim

💡 💻 🎨

Yurim Jalynne Jin

💻

JunHee Lee

💻 🚇 👀

Youngchang Lee

💻 🚇 👀

Johan Kim

👀

Leehaeun

💻 👀

Jiyoon Hur

💻 👀

Seongcheol Jo

💻

uoon (philos)

💻 👀

chanheeis

💻 👀

Yebin Seo

💻

4. License

Licensed under the MIT License, Copyright (c) 2021 EveryAnalytics.

See LICENSE for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i @every-analytics/react-analytics-provider

Weekly Downloads

1

Version

0.4.0

License

MIT

Unpacked Size

49.9 kB

Total Files

44

Last publish

Collaborators

  • milooy