1.1.0 • Published 9 years ago
ta-react-trackingpixel v1.1.0
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. |