【文件属性】:
文件名称:gatsby-plugin-google-adsense:一个Gatsby插件,可轻松将google adsense添加到您的gatsby网站
文件大小:74KB
文件格式:ZIP
更新时间:2021-05-01 22:48:35
javascript google-adsense gatsby-plugin gatsby-site JavaScript
gatsby-plugin-google-adsense
将Google Adsense添加到您的Gatsby网站。
安装
npm install @isamrish/gatsby-plugin-google-adsense
或者
yarn add @isamrish/gatsby-plugin-google-adsense
Gatsby网站上的用法
// In your gatsby-config.js
module . exports = {
plugins : [
{
resolve : `@isamrish/gatsby-plugin-google-adsense` ,
options : {
googleAdClientId : "YOUR_GOOGLE_ADSENSE_TRACKING_ID" ,
head