react-adroll

Adroll Events for React

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-adroll
0.1.74 years ago4 years agoMinified + gzip package size for react-adroll in KB

Readme

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