react-notifia
v0.3.5
Published
React Notifia Tracking Module
Downloads
2
Maintainers
Readme
React Tracking Notifia
Un-official module to easily add Notifia to react apps. It functions as a tiny wrapper for the native script. After initialization the Notifia script is injected into the document.
Installation
With npm:
npm install react-notifia --save
Usage
Notifia needs to be imported and initialized with the custom id:
import NotifiaTracking from 'react-notifia';
NotifiaTracking.initialize('NOTIFIA_ID');
After initializing campaigns can be run from the Notifia Portal.
How this works
This modules takes care of injecting the provider specific tracking script into the document.