Skip to content

realAlexBarge/react-notifia

Repository files navigation

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.

About

Un-official module to easily add Notifia to react apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published