This package has been deprecated

Author message:

This package has been renamed to ta-react-webseismotracker.

ta-react-newsnettracker

1.0.0 • Public • Published

Newsnet Tracker Component

Component to track hits for Newsnet/Webseismo

Installation

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

Usage

import NewsnetTracker from 'ta-react-newsnettracker';

// ...

class YourComponent extends React.Component {
  render() {

    return (
      <NewsnetTracker articleId="46224623" />
    )
  }
}

API – 1.0.0

Props

Property Type Required Description
articleID string yes The article ID as displayed in the CD.
hostname  string  no  A hostname in the form domain.tld in order to force counting towards a specific domain. Or for testing on localhost.

Package Sidebar

Install

npm i ta-react-newsnettracker

Weekly Downloads

0

Version

1.0.0

License

ISC

Last publish

Collaborators

  • xeophin