← All IntegrationsIntegration

Analytics for n8n

n8n is the self-hosted workflow automation platform for teams who need full data control. BetterMeter's webhook triggers integrate natively with n8n — your analytics events flow through infrastructure you own, never touching third-party cloud services.

Privacy alignment

BetterMeter is privacy-first (no cookies, no personal data collection). n8n is self-hosted (your data stays on your servers). Together, they form an analytics automation stack where visitor data never leaves your control — from collection through processing to alerting.

n8n workflow: daily analytics digest

n8n workflow JSON — webhook trigger to email digest
{
  "nodes": [
    {
      "name": "BetterMeter Webhook",
      "type": "n8n-nodes-base.webhook",
      "parameters": {
        "path": "bettermeter-daily",
        "httpMethod": "POST"
      }
    },
    {
      "name": "Filter High Traffic",
      "type": "n8n-nodes-base.if",
      "parameters": {
        "conditions": {
          "number": [{
            "value1": "={{ $json.pageviews }}",
            "operation": "largerEqual",
            "value2": 1000
          }]
        }
      }
    },
    {
      "name": "Format Report",
      "type": "n8n-nodes-base.set",
      "parameters": {
        "values": {
          "string": [{
            "name": "subject",
            "value": "Daily: ={{ $json.site }} — ={{ $json.pageviews }} views"
          }]
        }
      }
    },
    {
      "name": "Send Email",
      "type": "n8n-nodes-base.emailSend",
      "parameters": {
        "toEmail": "team@acme.com",
        "subject": "={{ $json.subject }}"
      }
    }
  ]
}

Self-hosted advantages

Full Data Control
Nothing leaves your infra
No Vendor Lock-in
Open source, Sustainable Use License
Custom Nodes
Write your own logic
Unlimited Runs
No per-execution fees
GDPR Compliant
Data stays in your region
Git Sync
Version control workflows

For privacy-conscious teams running GDPR-sensitive workloads, n8n plus BetterMeter means your entire analytics pipeline — from cookie-free data collection to automated reporting — operates without sending visitor data to any third party.