Socket
Book a DemoInstallSign in
Socket

gatsby-plugin-sematext-experience

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-sematext-experience

sematext

1.0.0
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

gatsby-plugin-sematext-experience

Github release version Commits since release npm release version

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:

Website uses Single Page Architecture checkbox example

Grab your token

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

Preview of token

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.

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

...and you're done! 🎉

FAQs

Package last updated on 23 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.