npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@velocity-bpa/n8n-nodes-hotjar

v1.0.0

Published

n8n community node for Hotjar - website analytics and feedback platform

Downloads

146

Readme

n8n-nodes-hotjar

[Velocity BPA Licensing Notice]

This n8n node is licensed under the Business Source License 1.1 (BSL 1.1).

Use of this node by for-profit organizations in production environments requires a commercial license from Velocity BPA.

For licensing information, visit https://velobpa.com/licensing or contact [email protected].

A comprehensive n8n community node for integrating with Hotjar's user behavior analytics platform. This node provides access to 6 core resources including sites, surveys, recordings, heatmaps, and data subject management capabilities, enabling automated workflows for user experience optimization and analytics data collection.

n8n Community Node License TypeScript Hotjar API Analytics GDPR Ready

Features

  • Site Management - Create, update, and manage Hotjar site configurations and tracking settings
  • Survey Operations - Automate survey creation, deployment, and response collection workflows
  • Recording Analysis - Access and process user session recordings with filtering and export capabilities
  • Heatmap Data - Retrieve heatmap analytics data for page optimization and user behavior insights
  • Response Processing - Extract and analyze survey responses with automatic data transformation
  • GDPR Compliance - Manage data subject requests, user data deletion, and privacy compliance workflows
  • Bulk Operations - Process multiple analytics records efficiently with batch operations
  • Real-time Integration - Connect Hotjar insights to other tools in your analytics and optimization stack

Installation

Community Nodes (Recommended)

  1. Open n8n
  2. Go to SettingsCommunity Nodes
  3. Click Install a community node
  4. Enter n8n-nodes-hotjar
  5. Click Install

Manual Installation

cd ~/.n8n
npm install n8n-nodes-hotjar

Development Installation

git clone https://github.com/Velocity-BPA/n8n-nodes-hotjar.git
cd n8n-nodes-hotjar
npm install
npm run build
mkdir -p ~/.n8n/custom
ln -s $(pwd) ~/.n8n/custom/n8n-nodes-hotjar
n8n start

Credentials Setup

| Field | Description | Required | |-------|-------------|----------| | API Key | Your Hotjar API key from account settings | Yes | | Base URL | Hotjar API base URL (auto-configured) | No |

Resources & Operations

1. Site

| Operation | Description | |-----------|-------------| | Create | Create a new site configuration in Hotjar | | Get | Retrieve site details and configuration | | Get All | List all sites in your Hotjar account | | Update | Modify site settings and configuration | | Delete | Remove a site from Hotjar |

2. Survey

| Operation | Description | |-----------|-------------| | Create | Create a new survey with questions and targeting | | Get | Retrieve survey configuration and settings | | Get All | List all surveys for a site | | Update | Modify survey questions, targeting, or status | | Delete | Remove a survey | | Start | Activate a survey for data collection | | Stop | Pause or deactivate a survey |

3. Survey Response

| Operation | Description | |-----------|-------------| | Get | Retrieve a specific survey response | | Get All | Fetch all responses for a survey with filtering | | Export | Export survey responses in various formats | | Analyze | Get aggregated response analytics and insights |

4. Recording

| Operation | Description | |-----------|-------------| | Get | Retrieve a specific user session recording | | Get All | List recordings with filtering by date, page, or user | | Download | Download recording files for offline analysis | | Get Insights | Extract key insights and events from recordings | | Filter | Apply advanced filters to recording datasets |

5. Heatmap

| Operation | Description | |-----------|-------------| | Get | Retrieve heatmap data for a specific page | | Get All | List all heatmaps for a site | | Generate | Create new heatmap analysis | | Export | Export heatmap data for external analysis | | Compare | Compare heatmap data across different time periods |

6. Data Subject

| Operation | Description | |-----------|-------------| | Request Deletion | Submit GDPR data deletion request | | Get Request Status | Check status of data subject requests | | Export Data | Export all data associated with a data subject | | Anonymize | Anonymize user data while preserving analytics value |

Usage Examples

// Get all survey responses from the last 30 days
{
  "resource": "surveyResponse",
  "operation": "getAll",
  "surveyId": "12345",
  "filters": {
    "dateFrom": "2024-01-01",
    "dateTo": "2024-01-31",
    "limit": 100
  }
}
// Create a new NPS survey
{
  "resource": "survey",
  "operation": "create",
  "siteId": "98765",
  "surveyData": {
    "name": "Customer Satisfaction Q1 2024",
    "type": "nps",
    "question": "How likely are you to recommend our product?",
    "targeting": {
      "pages": ["checkout", "thank-you"],
      "percentage": 25
    }
  }
}
// Export heatmap data for homepage optimization
{
  "resource": "heatmap",
  "operation": "export",
  "siteId": "98765",
  "pageUrl": "https://example.com",
  "dateRange": {
    "start": "2024-01-01",
    "end": "2024-01-31"
  },
  "format": "json"
}
// Process GDPR deletion request
{
  "resource": "dataSubject",
  "operation": "requestDeletion",
  "userIdentifier": "[email protected]",
  "dataTypes": ["recordings", "surveys", "heatmaps"],
  "reason": "User requested account deletion"
}

Error Handling

| Error | Description | Solution | |-------|-------------|----------| | 401 Unauthorized | Invalid API key or expired token | Verify API key in credentials configuration | | 403 Forbidden | Insufficient permissions for operation | Check account permissions and plan limits | | 404 Not Found | Site, survey, or resource doesn't exist | Verify resource IDs and site configuration | | 429 Rate Limited | Too many API requests | Implement delays between requests or reduce frequency | | 500 Internal Error | Hotjar service unavailable | Retry operation after delay or check Hotjar status | | Network Timeout | Connection timeout to Hotjar API | Check network connectivity and increase timeout |

Development

npm install
npm run build
npm test
npm run lint
npm run dev

Author

Velocity BPA

Licensing

This n8n community node is licensed under the Business Source License 1.1.

Free Use

Permitted for personal, educational, research, and internal business use.

Commercial Use

Use of this node within any SaaS, PaaS, hosted platform, managed service, or paid automation offering requires a commercial license.

For licensing inquiries: [email protected]

See LICENSE, COMMERCIAL_LICENSE.md, and LICENSING_FAQ.md for details.

Contributing

Contributions are welcome! Please ensure:

  1. Code follows existing style conventions
  2. All tests pass (npm test)
  3. Linting passes (npm run lint)
  4. Documentation is updated for new features
  5. Commit messages are descriptive

Support