q4j-reactjs-heap
v1.0.5
Published
Q4Justice React Heap Analytics Module, a fork of pedro-lb/reactjs-heap
Downloads
3
Readme
ReactJS Heap
React Heap Analytics Module (Forked from pedro-lb/reactjs-heap)
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 q4j-reactjs-heap
npm
npm install --save q4j-reactjs-heap
Usage
Simply initialize heap tracking:
import ReactHeap from 'q4j-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