integration-javascript_node

Instrument Node.js apps with Amplitude analytics for backend events.

28|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/amplitude/wizard --skill integration-javascript-node-amplitude
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: integration-javascript_node
Source: https://github.com/amplitude/wizard/tree/main/skills/integration/integration-javascript_node
Command: npx skills add https://github.com/amplitude/wizard --skill integration-javascript-node-amplitude

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Instrument server-side Node.js applications with Amplitude analytics to capture meaningful backend events.

Core Features & Use Cases

  • Server-side event tracking with track() and identify() for consistent user analytics across APIs and services.
  • Safe, scalable instrumentation with environment-based API key initialization and graceful shutdowns to flush events before exit.
  • Use cases include authentication, data mutations, error handling, and background jobs across Node.js backends.

Quick Start

Initialize Amplitude with your API key and begin tracking events in your Node.js application.

Frequently Asked Questions about integration-javascript_node

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track server-side events in Node.js using Amplitude?

Identify users in a Node.js backend by calling the identify() method provided by the @amplitude/analytics-node SDK to set user properties and ensure consistent user analytics across services.

How do I identify users for backend analytics in a Node.js service?

Identify users in a Node.js backend by calling the identify() method provided by the @amplitude/analytics-node SDK to set user properties and ensure consistent user analytics across services.

What is the best way to instrument Amplitude analytics for background jobs?

Instrument Amplitude analytics for background jobs by integrating @amplitude/analytics-node to capture data mutations and error handling events with safe, scalable server-side tracking.

Does the Amplitude Node.js SDK require an API key from environment variables?

Yes, the Amplitude Node.js SDK requires an API key configured via environment variables to initialize safely and enforce secure event tracking across your backend applications.

How do I flush Amplitude events before a Node.js process exits?

Flush Amplitude events before a Node.js process exits by implementing graceful shutdown logic that ensures all queued analytics events are sent before the application terminates.