API Reference

Complete API reference for the Tode SDK - the analytics solution for Figma plugins and widgets.

Core Module (@tode-sdk/core)

The core module provides the main tode instance used in your plugin controller.

Initialization

Tracking Methods

Properties

Quick Example

code.ts
import { tode } from '@tode-sdk/core';
 
// Initialize
await tode.init({ apiKey: 'your-api-key' });
 
// Track actions
tode.trackAction('plugin_opened');
tode.trackActionWithMetric('items_exported', 42);
 
// Check status
if (tode.isReady) {
  tode.trackAction('ready_to_track');
}

Need Help?

  • Read the Best Practices guide for implementation tips
  • Check the framework-specific guides for detailed examples
  • Review the Introduction for setup instructions

Track your Figma plugin

Sign up to get your API key and start collecting analytics in minutes.

Get your API key