# ta-react-newsnettracker

> Track hits in Newsnet using their article ID.

Latest version **1.0.0** (published 2016-11-25) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install ta-react-newsnettracker
pnpm add ta-react-newsnettracker
yarn add ta-react-newsnettracker
bun add ta-react-newsnettracker
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-11-25 |
| First published | 2016-10-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kaspar Manz |
| Maintainers | xeophin |
| Keywords | react, component, tracker, Newsnet |

## Links

- npm: https://www.npmjs.com/package/ta-react-newsnettracker
- Repository: https://gitlab.com/ta-interactive/react-newsnettracker
- Homepage: https://gitlab.com/ta-interactive/react-newsnettracker#README
- Issues: https://gitlab.com/ta-interactive/react-newsnettracker/issues
- npm.io page: https://npm.io/package/ta-react-newsnettracker

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^15.3.2
- [ta-react-trackingpixel](https://npm.io/package/ta-react-trackingpixel.md) ^1.1.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-11-25
- 1.0.0-0 — 2016-10-31

## README

# Newsnet Tracker Component

Component to track hits for Newsnet/Webseismo

## Installation

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

## Usage

```js
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.

---
_Source: https://npm.io/package/ta-react-newsnettracker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
