Analytics Developer (Smart Router)

Official

Standardize analytics events and route tracking.

Authoranyproto
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Context-aware routing to the Anytype iOS analytics system, ensuring consistent event definitions, route tracking, and property keys across the codebase.

Core Features & Use Cases

  • Route Enums & Keys: Enforces route enums in AnalyticsConstants.swift and typed properties for event keys.
  • Event Methods: Centralized analytics methods in AnytypeAnalytics+Events.swift.
  • Practical Tracking: Guides on integrating route context into screen and button analytics.

Quick Start

  1. Define a route enum in AnalyticsConstants.swift (e.g., YourFeatureRoute).
  2. Add a method to AnytypeAnalytics+Events.swift for the new event.
  3. Use AnytypeAnalytics.instance().logYourEvent(...) in your ViewModel or Coordinator.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Analytics Developer (Smart Router)
Download link: https://github.com/anyproto/anytype-swift/archive/main.zip#analytics-developer-smart-router

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.