Operational

DocsGithub Open app

Operational

Github Articles Pitch Usecases Playground API

Contents

Start hereSetup Operational
Guided setup
IntroductionCreate project and API keyManage projects and teammatesSend your first eventStructured eventsAdd actionsGroup events with contextsCategories and searchView events in your projectSetup PWA on phoneLog limits and errors
The Manual
IntroductionPWA & push notificationsConventionsSetupTest modeNotifications
Integrations
Nodejs SDKPHP SDKWordpress plugin
Events API
IntroductionSend your first eventEvent parametersStructured EventsActionsContextsCategoriesError handling
Self hosting
IntroductionInstall locallyInstall on VPSInstall on RenderInstall via DockerInstall via Docker and CoolifyOnboardingSetup .envSetup PWA & push notificationsBest practicesDurability testing
Other
VisionRoadmapContributing

Send your first event

Operational receives events at POST /api/v1/log.

Use the API key from the project you want to track.

SDK example:

import Operational from "@operational.co/sdk";

const ops = new Operational(process.env.OPERATIONAL_API_KEY);

await ops.events.log({
  name: "user signed up",
  avatar: "🎉",
  content: "Signup from pricing page",
});

Direct HTTP example:

const event = {
  name: "user signed up",
  avatar: "🎉",
  content: "Signup from pricing page",
};

await fetch("https://api.operational.co/api/v1/log", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.OPERATIONAL_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(event),
});

A successful request returns 201 with success.

Manage projects and teammatesStructured events

Operational

PrivacyTerms
About the product
  • Use cases
  • Playground
  • API
  • Pitch
  • Pricing
  • Wordpress plugin
Related to the product
  • Open Source
  • Articles
  • VS Logsnag
Useful articles for your SaaS
  • My experience running a Commercial OSS project
  • Force post: The Payment Hack that lets Merchants charge you without approval
  • 6 Best practices for early stage B2B SaaS customer support
  • Setup event notifications for your SaaS