gatsby-plugin-meeshkan-recorder

1.0.0 • Public • Published

gatsby-plugin-meeshkan-recorder

Add the Meeshkan Recorder script to any Gatsby website

Install

npm install --save gatsby-meeshkan-recorder

Usage

// In your gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: `gatsby-meeshkan-recorder`,
      options: {
        // Your Meeshkan Recorder Client ID
        clientId: `xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx`,
      },
    },
  ],
};

Development

By default gatsby-plugin-meeshkan-recorder will only load and run the recorder script when process.env.NODE_ENV === 'production'. To enable gtag in development mode set the environment variable GATSBY_MEESHKAN_RECORDER_DEBUG=true gatsby develop.

Credits

License

MIT

Package Sidebar

Install

npm i gatsby-plugin-meeshkan-recorder

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

4.43 kB

Total Files

11

Last publish

Collaborators

  • k4m4