Analytics Developer (Smart Router)
OfficialStandardize 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.swiftand 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
- Define a route enum in
AnalyticsConstants.swift(e.g.,YourFeatureRoute). - Add a method to
AnytypeAnalytics+Events.swiftfor the new event. - Use
AnytypeAnalytics.instance().logYourEvent(...)in your ViewModel or Coordinator.
Dependency Matrix
Required Modules
None requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.