Osano is an easy-to-use data privacy platform that instantly helps your website become compliant with laws such as GDPR and CCPA.

Install

Using NPM

Terminal window
npm install --save gatsby-plugin-osano

Using Yarn

Terminal window
yarn add gatsby-plugin-osano

How to use

// In your gatsby-config.js
plugins: [
{
resolve: `gatsby-plugin-osano`,
options: {
customerId: "YOUR_OSANO_CUSTOMER_ID",
ccid: "YOUR_OSANO_CUSTOMER_CCID",
includeInDevelopment: false,
},
},
];

If you want to ensure that osano is loaded first of the script tags. Please put code above last in the plugins array.