npm.io
1.1.0 • Published 9 years ago

ta-react-trackingpixel

Licence
ISC
Version
1.1.0
Deps
1
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

TA Tracking Pixel React Component

Creates an image instance which loads the URL for a tracking pixel.

Installation

npm install ta-react-trackingpixel --save
yarn add ta-react-trackingpixel

Usage

import TrackingPixel from 'ta-react-trackingpixel';

...

class YourComponent extends React.Component {
  render() {
    return (
      <TrackingPixel url="http://example.com/tracking.gif" />
    )
  }
}

API – 1.1.0

Props
Property Type Required Description
url string yes Source URL of the tracking pixel image to load.