Back to directory
EveryAnalytics avatar

react-analytics-provider

Super convenient analytics provider for React. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/EveryAnalytics/react-analytics-provider.git

58

Stars

18

Forks

4

Watchers

MIT

License

128202563 2f5b9fc6 6b7d 4baf 9861 0cff67993be1

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.