q4j-reactjs-heap

Q4Justice React Heap Analytics Module, a fork of pedro-lb/reactjs-heap

Usage no npm install needed!

<script type="module">
  import q4jReactjsHeap from 'https://cdn.skypack.dev/q4j-reactjs-heap';
</script>

README

ReactJS Heap

React Heap Analytics Module (Forked from pedro-lb/reactjs-heap)

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 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