reactjs-heap
v1.0.3
Published
React Heap Analytics Module
Downloads
6,797
Readme
ReactJS Heap
React Heap Analytics Module
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