Skip to content
No description, website, or topics provided.
JavaScript
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.babelrc
.gitignore
.npmignore
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

gatsby-plugin-we-monetization

Add Web Monetization Meta Tag on your Gatsby site.

Install

npm install --save gatsby-plugin-web-monetization

How to use

// In your gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-web-monetization`,
      options: {
        paymentPointer: `YOUR_ILP_PAYMENT_POINTER`,
        excludedPaths: ['exclude', 'path'] // Optional
      }
    }
  ]
};

Options

paymentPointer

The Payment Pointer, you can find it in yuor ILP wallet.

excludedPaths

Array of strings (or RegExp) that indicates the pathnames where the meta tag won't be added.

You can’t perform that action at this time.