Docusaurusでの使用
docusaurus.config.js
で:
/** @type {import('@docusaurus/types').Config} */
const config = {
// ...
scripts: [
{
src: 'https://<your domain>/tracker.js',
async: true,
defer: true,
'data-website-id': '<your-website-id>',
},
],
};
module.exports = config;