【文件属性】:
文件名称:gatsby-plugin-hubspot:一个Gatsby插件,可轻松将HubSpot嵌入代码添加到您的网站
文件大小:62KB
文件格式:ZIP
更新时间:2021-04-29 16:44:07
gatsby hubspot gatsby-plugin JavaScript
gatsby-plugin-hubspot
一个Gatsby插件,可轻松将HubSpot嵌入代码添加到您的网站。
正在安装
npm install --save gatsby-plugin-hubspot
如何使用
// In your gatsby-config.js
module . exports = {
plugins : [
{
resolve : "gatsby-plugin-hubspot" ,
options : {
trackingCode : "1234567" ,
respectDNT : true ,
productionOnly : true ,
} ,
} ,
]
}
选项
尊重DNT
类型: boolean 默认值: false
通过