Skip to main content

Documentation Index

Fetch the complete documentation index at: https://grantmaster.dev/llms.txt

Use this file to discover all available pages before exploring further.

Analytics and Tracking

This document defines how we measure feature adoption, user engagement, and platform growth without compromising PII.

🏗️ Data Collection Pipeline

🏷️ Event Naming Convention

We use a Context:Action:Outcome hierarchical structure:
FormatExampleDescription
grant:claim:successgrant:claim:successUser successfully claimed a grant.
ai:generation:startai:generation:startPrompt sent to LLM.
auth:signup:verifyauth:signup:verifyUser verified their email.
billing:plan:changebilling:plan:changeUser modified subscription tier.

🛡️ Privacy & PII Policy

Absolutely no PII (emails, names, phone numbers) should be included in analytics properties.
  • Safe: projectId, tenantId, planType, errorCode.
  • Unsafe: user_email, grant_title_text, comment_content.

📊 Key Growth Metrics (The “North Star”)

  1. Grant Velocity: Average time from “Claimed” to “Submitted.”
  2. AI Stickiness: Percentage of users who utilize the “Draft Assistant” mehr as 3 times per week.
  3. Collaborative efforts: Number of unique users contributing to a single Pursuit.

🛠️ Implementation

Use the AnalyticsService wrapper:
// Good usage
AnalyticsService.track('grant:claim:success', {
  grantId: 'abc-123',
  source: 'discovery_page'
});