TA WEMF Tracking React Component
Tracks hits on a website using WEMF.
Installation
yarn add ta-react-wemftracking
Usage
; // more code ... Component { // Get the WEMF statistics object from Newsnet API here // NOT ACTUAL IMPLEMENTATION! this } { return <WemfTracking ...thisstatewemfTrackingObject /> }
API – 2.0
Props
Property | Type | Required | Description |
---|---|---|---|
url |
string |
yes | Mobile tracking URL |
ipad_url |
string |
yes | Tablet tracking URL |
desktop_url |
string |
yes | Desktop tracking URL |