react-adroll

0.1.7 • Public • Published

react-adroll

React JS wrapper for Adroll Pixell

Install

npm install react-adroll

or

yarn add react-adroll

How to use

import ReactAdroll from 'react-adroll';

ReactAdroll.init('yourPixelIdGoesHere', 'yourAdvIdGoesHere', (debug = false));
ReactAdroll.recordUser('event_segment_id');

Dev Server

npm run start

Default dev server runs at localost:8080 in browser. You can set IP and PORT in webpack.config.dev.js

Production Bundle

npm run bundle

Follow me on Twitter: @GreggLuskin

Dependencies (0)

    Dev Dependencies (23)

    Package Sidebar

    Install

    npm i react-adroll

    Weekly Downloads

    60

    Version

    0.1.7

    License

    MIT

    Unpacked Size

    364 kB

    Total Files

    14

    Last publish

    Collaborators

    • luskin