🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@stackql/docusaurus-plugin-hubspot

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stackql/docusaurus-plugin-hubspot

A plugin which adds your Hubspot tracking code to your docusaurus docs or blog site.

1.1.0
latest
Source
npm
Version published
Weekly downloads
906
-1.09%
Maintainers
1
Weekly downloads
 
Created
Source

docusaurus-plugin-hubspot

Plugin to enable Hubspot with Docusaurus

Installation

NPM

npm i docusaurus-plugin-hubspot

YARN

yarn add docusaurus-plugin-hubspot

Setup

Add to plugins in docusaurus.config.js:

{
  plugins: [
    'docusaurus-plugin-hubspot',
    ...
  ]
}

Add your Hubspot configuration to themeConfig in the docusaurus.config.js file:

{
  themeConfig: {
    hubspot: {
      accountId: HUBSPOT_ACCOUNT_ID,
      async: boolean, // OPTIONAL: sets the async attribute on the script tag, defaults to false
      defer: boolean, // OPTIONAL: sets the defer attribute on the script tag, defaults to false     
    },
    ...
  }
}

Keywords

docusaurus

FAQs

Package last updated on 24 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts