pedro-lb / reactjs-heap

React Heap Analytics Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactJS Heap

React Heap Analytics Module

NPM JavaScript Style Guide

This is a JavaScript module that can be used to easily include Heap Analytics tracking code in a website or app that uses React for its front-end codebase.

Install

You can use yarn or npm.

Yarn

yarn add reactjs-heap

npm

npm install --save reactjs-heap

Usage

Simply initialize heap tracking:

import ReactHeap from 'reactjs-heap';

ReactHeap.initialize('9999999999');

Contributing

Pull requests are welcome! If you have any feedback, issue or suggestion, feel free to open a new issue so we can talk about it 💬.

License

MIT © pedro-lb

About

React Heap Analytics Module


Languages

Language:JavaScript 52.0%Language:TypeScript 48.0%