react-notifia

0.3.5 • Public • Published

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.

Package Sidebar

Install

npm i react-notifia

Weekly Downloads

2

Version

0.3.5

License

MIT

Unpacked Size

5.27 kB

Total Files

7

Last publish

Collaborators

  • realalexbarge