Skip to content

ricardovanh/gatsby-plugin-crazyegg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatsby-plugin-crazyegg

Easily add Crazy Egg to your Gatsby-powered site!

Installation

Inside an existing gatsby project, run:

yarn add gatsby-plugin-crazyegg

You will need to have your account number ready for configuration.

To access your account number, head over to the Crazy Egg Dashboard.

Go to Account > Your profile, and copy the account number shown.

Configuration

// Inside your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-crazyegg`,
    options: {
      accountNumber: YOUR_CRAZYEGG_ACCOUNT_NUMBER
    }
  }
]

Notes

The Crazy Egg tracking script will only be included in your production build.

About

A gatsby plugin to add the Crazy Egg tracking script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published