Developers

Embed CauseWise analytics

Load analytics on your server, then render the dashboard in your product. Live data needs a paid CauseWise subscription and a workspace API key.

Install `@razorsoft/causewise` and `@razorsoft/causewise-react` from npm.

Dashboard

CauseWiseDashboard composes overview stats, an event-count trend, top pages, goals, funnels, and recent events. Trend counts are events, not pageviews.

Sample data. This preview does not call CauseWise.

Acme analytics

Last 7 days, Oct 12, 2026 to Oct 19, 2026. Retention 90 days.

Overview

Sample data. Distinct pageview session ids.

Pageviews
12,840
Sessions
2,310
Visitors
Unavailable

Sample data. Visitors stay unavailable when an event has no visitor id.

Traffic

Last 7 days. Events in each period.

Events for each period. The same numbers are listed after the chart.

Events by period
PeriodEvents
Oct 131,400
Oct 141,620
Oct 151,510
Oct 161,890
Oct 172,104
Oct 181,980
Oct 192,336

Top pages

PathViews
/4,200
/pricing1,660
/docs980

Goals

Sample data. Dashboard rollup from the summary payload.

Conversions
86
Conversion rate
3.7%
GoalEventConversionsStatusLast match
Signupsign_up86Receiving eventsOct 19, 2026, 3:04 PM

Signup funnel

Sample data. Last step divided by entrants.

Entered
640
Completed
86
Completion rate
13.4%
  • Status: Partial
  • Window: 7 days
  • Largest drop-off: Create account (210)
  1. Pricing640 visitors
  2. Create account430 visitors, 67.2% from previous
  3. Signup86 visitors, 20% from previous

Recent events

Property payloads are not included.

TimeTypePath
Oct 19, 2026, 3:04 PMpageview/pricing

Install

npm install @razorsoft/causewise @razorsoft/causewise-react
CAUSEWISE_API_KEY=cw_api_...
CAUSEWISE_SITE_ID=site_...

Keep the key in the server environment. A complete Next.js example is in examples/nextjs/README.md in the repository. The key needs analytics:read, and goals:read or funnels:read for those sections.

View plans

REST API

Workspace API keys call /api/v1 for sites, tracking status, goals, funnels, and analytics.

API guide

Remote MCP

Coding assistants use https://causewise.io/api/mcp. The server exposes 21 tools.

Assistant guide

TypeScript SDK

@razorsoft/causewise runs on the server and calls the REST API.

SDK guide

React components

@razorsoft/causewise-react renders data you pass in. It never sees the management key.

Component guide

WordPress

The plugin installs the public tracking snippet. Blocks and shortcodes render individual sections for signed-in users who can activate plugins.

WordPress