JSPM

gatsby-plugin-sumo

1.0.3
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 3
    • Score
      100M100P100Q33681F
    • License ISC

    A Gatsby plugin to add sumo email capture tool to a Gatsby website

    Package Exports

    • gatsby-plugin-sumo

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gatsby-plugin-sumo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    gatsby-plugin-sumo

    Provides support for Sumo.

    Install

    yarn add gatsby-plugin-sumo react-helmet

    How to use

    Just add the plugin to the plugins array in your gatsby-config.js, along with the Sumo Site ID

      plugins: [
        {
          resolve : `gatsby-plugin-sumo`,
          options : {
            sumoSiteId : `61bf159c0d6eac4a9ca7XXXXXa244c564b4edfd2d6aaaed5a819b2310dXXXXXX` //Sumo Site ID
          }
        }
      ]

    Your Site ID will be present in the Sumo dashboard

    Sumo Dashboard depicting Site ID