# analytics-plugin-simple-analytics

> Simple analytics plugin for 'analytics' module for browser

Latest version **0.1.3** (published 2019-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install analytics-plugin-simple-analytics
pnpm add analytics-plugin-simple-analytics
yarn add analytics-plugin-simple-analytics
bun add analytics-plugin-simple-analytics
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2019-10-07 |
| First published | 2019-07-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | davidwells |
| Keywords | analytics, analytics-project, analytics-plugin, simple-analytics-plugin |

## Links

- npm: https://www.npmjs.com/package/analytics-plugin-simple-analytics
- npm.io page: https://npm.io/package/analytics-plugin-simple-analytics

## Recent versions

- 0.1.3 (latest) — 2019-10-07
- 0.1.2 — 2019-09-23
- 0.1.1 — 2019-08-22
- 0.1.0 — 2019-07-26

## README

# Simple Analytics Plugin

> Note: This package has moved to [@analytics/simple-analytics](https://www.npmjs.com/package/@analytics/simple-analytics)

Integration with simple analytics [Simple Analytics](https://simpleanalytics.com/)

For more information [see the docs](https://getanalytics.io/plugins/simple-analytics/).

## Install

Include `analytics` and `@analytics/simple-analytics` in the source code of your project.

```bash
npm install analytics
npm install @analytics/simple-analytics
```

## Usage

Initialize `analytics` with the simple-analytics plugin. After initialization the simple-analytics script will be automatically loaded into the page and send page views to [Simple Analytics](https://simpleanalytics.com/).

```js
import Analytics from 'analytics'
import simpleAnalyticsPlugin from '@analytics/simple-analytics'

const analytics = Analytics({
  app: 'awesome-app',
  plugins: [
    simpleAnalyticsPlugin(),
    // ... other plugins
  ]
})
```

The simple analytics plugin automatically tracks page views on route changes for single page applications.

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