‹ All updates

affitor init wires tracking into your Next.js app

The CLI detects Next.js, installs the SDK and adds the tracking code for you, with a preview of every change before it writes.

Feature0.3.0DevelopersCLISDK

Run affitor init in a Next.js project. The CLI detects the framework, installs the SDK, and adds the tracking code, showing you the diff before it writes anything.

npx affitor init

A server-side Node SDK ships alongside it, so you can record sales from your backend. Since June 2026 the SDK is published as @affitor/sdk.