# gatsby-plugin-sematext-experience

> sematext

Latest version **1.0.0** (published 2020-07-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install gatsby-plugin-sematext-experience
pnpm add gatsby-plugin-sematext-experience
yarn add gatsby-plugin-sematext-experience
bun add gatsby-plugin-sematext-experience
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-07-23 |
| First published | 2020-07-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 27.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | bitttttten |
| Maintainers | bitttttten |

## Links

- npm: https://www.npmjs.com/package/gatsby-plugin-sematext-experience
- npm.io page: https://npm.io/package/gatsby-plugin-sematext-experience

## Recent versions

- 1.0.0 (latest) — 2020-07-23

## README

# gatsby-plugin-sematext-experience

[![Github release version](https://img.shields.io/github/tag/bitttttten/gatsby-plugin-sematext-experience.svg)](https://github.com/bitttttten/gatsby-plugin-sematext-experience/releases)
[![Commits since release](https://img.shields.io/github/commits-since/bitttttten/gatsby-plugin-sematext-experience/v1.0.0.svg)](https://github.com/bitttttten/gatsby-plugin-sematext-experience/compare/v1.0.0...master)
[![npm release version](https://img.shields.io/npm/v/gatsby-plugin-sematext-experience.svg)](https://www.npmjs.com/package/gatsby-plugin-sematext-experience)

## Introduction

A plugin to add and configure the Sematext Experience for your Gatsby app.

## Instructions

### Install

`yarn add gatsby-plugin-sematext-experience`

### Create your Experience App

Ensure you've checked "Website uses Single Page Architecture" when creating your Experience App:

<img alt="Website uses Single Page Architecture checkbox example" src="./docs/v-important.png" />

### Grab your token

In Step 2 of the installation docs on Sematext (as of July 2020), you'll find your token.

<img alt="Preview of token" src="./docs/this-is-ur-token.png" />

### Configure the plugin

Add the plugin to your plugins array and send the token in. Here I have the token stored in the environment variables, and I am reading it from there. You can paste the token itself in your gatsby-config if you'd like, as it's not a sensitive token.

```js
// gatsby-config.js
module.exports = {
	plugins: [
		{
			resolve: `gatsby-plugin-sematext-experience`,
			options: {
				token: process.env.GATSBY_SEMATEXT_TOKEN,
			},
        },
    ]
}
```

...and you're done! 🎉

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