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

@blackswampai/n8n-nodes-openanalytics

v0.1.1

Published

n8n community node for Open Analytics, an open-source and privacy-first web analytics platform

Downloads

80

Readme

@blackswampai/n8n-nodes-openanalytics

Query web analytics data from Open Analytics directly within your n8n workflows.

This is an independent community integration and is not affiliated with, endorsed by, sponsored by, or maintained by OpenLabs or Open Analytics. Product names and marks belong to their respective owners and are used only to identify compatibility.

Installation · Compatibility · Credentials · Operations · Usage · Troubleshooting · Resources · Black Swamp AI

Installation

This package is not currently available through verified-node discovery. On self-hosted n8n, open Settings → Community Nodes, select Install, and enter @blackswampai/n8n-nodes-openanalytics. For details, see the n8n community node installation guide.

Compatibility

| Surface | Tested baseline | Notes | | ------------------- | --------------- | -------------------------------------------------------------- | | n8n | >=1.0.0 | Tested against declarative REST execution baseline | | Service/API | v1 | Compatible with Open Analytics Cloud and self-hosted instances | | Node.js development | 22.22.0 and 24 | CI and package checks run on both lanes. |

Do not present verified-node distribution as evidence of broader service, API, or runtime compatibility.

Credentials

Authenticate requests using an Open Analytics API key:

API keys in Open Analytics are site-bound credentials created per site in Settings → API. Each credential configured in n8n maps directly to that specific site. The Open Analytics API automatically scopes all requests to the site tied to the key and does not accept X-OA-Site headers.

  1. In Open Analytics, navigate to your site's Settings → API to create an API key.
  2. In n8n, open Credentials → New Credential, and choose Open Analytics API.
  3. Enter your API Key.
  4. (Optional) Set the Base URL to your self-hosted instance (defaults to https://api.getopen.so).

All requests include the Bearer token in the Authorization header.

Operations

Site

  • Get Many (getAll): Retrieve all sites accessible by the current credential (GET /v1/read/sites).
  • Get (get): Fetch metadata and tracking script installation details for the credential-bound site (GET /v1/read/site).

Analytics

All analytics operations query data for the site bound to the selected credential:

  • Get Overview (getOverview): Fetch aggregate metrics including events, pageviews, and unique visitors (GET /v1/read/analytics/overview). Supports optional comparison with preceding period and time resolution (hour, day).
  • Get Timeseries (getTimeseries): Fetch time-series metric data points (GET /v1/read/analytics/timeseries). Supports time resolution (hour, day, week).
  • Get Pages (getPages): Top pages breakdown ranked by views and visitors (GET /v1/read/analytics/pages).
  • Get Sources (getSources): Breakdown of inbound referrers and campaigns (GET /v1/read/analytics/sources).
  • Get Geography (getGeography): Breakdown of visits by country and city (GET /v1/read/analytics/geography).
  • Get Devices (getDevices): Breakdown of device types, browsers, and operating systems (GET /v1/read/analytics/devices).
  • Get Sessions (getSessions): Bounce rate and visit duration engagement metrics (GET /v1/read/analytics/sessions).

Revenue

All revenue operations query data for the site bound to the selected credential:

  • Get Summary (getSummary): Fetch revenue totals, MRR, paying users, and conversion statistics (GET /v1/read/revenue/summary). Supports optional comparison with preceding period and currency filtering.
  • Get Timeseries (getTimeseries): Fetch time-bucketed revenue metrics (GET /v1/read/revenue/timeseries). Supports time resolution (hour, day) and currency filtering.

Usage

  • Site-Scoped Credentials: Open Analytics API keys are generated per site. To query different sites, configure distinct credentials in n8n for each site's API key.
  • Timestamp Formatting: The from and to date range parameters require full ISO-8601 UTC timestamp strings (for example, 2026-09-01T00:00:00.000Z). Date-only strings such as 2026-09-01 return a 400 Bad Request error from the API.
  • Timezone: Set the timezone parameter to a valid IANA timezone identifier (such as UTC or America/New_York) to control day boundary bucketing.

Troubleshooting

  • Confirm the base URL, account or organization scope, and credential permissions.
  • Verify that from and to timestamps are valid ISO-8601 UTC strings ending with Z.
  • Check HTTP 429 responses for Retry-After header values when approaching rate limits.
  • Report reproducible defects in GitHub Issues without including secrets.

Resources

License

MIT