Support Center
v1.0
Features
Comments
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Hubspot
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
To add Hubspot Analytics integration to DeveloperHub, you must have a plan with Custom HEAD Tags enabled.

Setting up Hubspot Analytics
Follow the steps as provided in Install the HubSpot tracking code. However, make sure to remove defer and async from the script tag.
The script should look like:
Embed Code
<script type="text/javascript" id="hs-script-loader" src="//js.hs-scripts.com/{{your-id}}.js"></script>HubSpot Analytics integration is created for traditional websites, while your DeveloperHub documentation is built over a single page application. To trigger tracking page views, add the following Custom HEAD Tag after the embed code above:
Custom HEAD Tag
<script> var trackPage = function(event) { var _hsq = window._hsq; if (!_hsq) { console.log('hsq not loaded yet'); return; } _hsq.push(['setPath', window.location.pathname]); _hsq.push(['trackPageView']); } document.addEventListener('onsectionchange', trackPage); document.addEventListener('onpagechange', trackPage);</script>Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated by Zaid Daba'een on Nov 9, 2021
Anything missing? Leave us feedback
Next to read:
Zendesk WidgetNeed help? Visit our community forums or contact us.
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message