Validation & Version Control · MCP Tool
add_analytics
Adds GA4/Meta Pixel/Mixpanel analytics tracking to an object (click, hover, or visible trigger).
Tool Overview & Agent Execution
add_analytics is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to adds ga4/meta pixel/mixpanel analytics tracking to an object (click, hover, or visible trigger).. It directly inspects and modifies local .exode JSON files with precision without manual UI tweaking.
Example Prompt for Claude Code & Cursor
Give this instruction to your AI coding agent to execute this tool on your active .exode workspace:
prompt
"Use add_analytics to configure the motion properties in my active .exode workspace"Tool Parameters & Input Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
| enabled | boolean | Optional | The enabled parameter for add_analytics. |
| eventName | string | Optional | Custom event name (default: {objectName}_interacted) |
| objectId | string | Yes | The objectId parameter for add_analytics. |
| parameters | array | Optional | The parameters parameter for add_analytics. |
| path | string | Yes | The path parameter for add_analytics. |
| platforms | object | Optional | The platforms parameter for add_analytics. |
| triggerType | string | Optional | The triggerType parameter for add_analytics. |
More Validation & Version Control Tools
checkout_version
Restores the artboard file to a previously committed version snapshot.
commit_version
Commits the current artboard state as a named version (snapshot stored in a sidecar .versions.json file). Supports branches.
create_branch
Creates a new branch in the artboard's version history (optionally switches to it immediately).
delete_branch
Deletes a branch (not main). Its versions stay in history.
Build & Review Motion Visually
Let Claude or Cursor run add_analytics, then fine-tune timing, spring physics, and export ready-to-ship code in ExodeUI.