0.3.5 • Published 4 years ago

react-notifia v0.3.5

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

React Tracking Notifia

Build Status dependencies Status devDependencies Status License: MIT

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.