Growth OS
Get Started
Growth Resources

Resource Library

Starter templates and code snippets to accelerate your growth engineering implementation. All resources are free to download and adapt to your stack.

8 Downloads6 Guides4 Code Snippets

Downloadable Templates

Ready-to-use templates for your analytics and experimentation workflows

These are starter templates. Adapt them to your specific stack and requirements.

Tracking
Tracking Plan Template
CSV template for documenting events, properties, and ownership in your analytics tracking plan.
CSV
Tracking
Property Dictionary Template
CSV template for defining and standardizing event properties across your analytics implementation.
CSV
Standards
Event Naming Conventions
Markdown guide for consistent event and property naming using object_action patterns.
Markdown
Analytics
Activation Definition Template
Template for documenting your product's activation metrics, criteria, and validation framework.
Markdown
Analytics
KPI Tree Template
Framework for building a metrics hierarchy that connects team efforts to business outcomes.
Markdown
Analytics
Dashboard Pack Checklist
Comprehensive checklist for building executive, acquisition, activation, and retention dashboards.
Markdown
Experimentation
Experiment Card Template
Template for documenting A/B test hypotheses, design, statistical parameters, and results.
Markdown
Data Quality
Data Quality Audit Checklist
Quarterly audit checklist covering event volume, property quality, identity, and schema compliance.
Markdown

Implementation Guides

In-depth tutorials and best practices

20 min
Intermediate
Segment Tracking & Governance
Build a scalable tracking implementation with event dictionaries, environment management, and governance best practices
18 min
Intermediate
Typed Event Tracking
Eliminate tracking bugs at compile time with type-safe analytics for Mixpanel, PostHog, or any provider
25 min
Advanced
Dashboard Pack Implementation
Build North Star and Activation dashboards with clear metric definitions, SQL queries, and alerting strategies
10 min
Beginner
Activation Metrics Overview
Overview of how to identify, measure, and optimize your activation metrics for better retention
18 min
Intermediate
KPI Tree Overview
Overview of how to build a metrics hierarchy that connects team efforts to business outcomes
22 min
Intermediate
Experiments Overview
Overview of designing, running, and analyzing A/B tests and experiments

Code Snippets

Copy-paste ready code for common growth implementations

React Analytics Hook
Custom React hook for tracking user events with automatic page views
TypeScript
import { useEffect, useCallback } from 'react';
import { usePathname } from 'next/navigation';

interface EventProperties {
  [key: string]: string | number | boolean;
}

export function useAnalytics() {
  const pathname = usePathname();

  useEffect(() => {
    trackEvent('page_viewed', { path: pat...
Retention Cohort SQL
SQL query for calculating weekly retention cohorts
SQL
-- Weekly Retention Cohort Analysis
WITH user_cohorts AS (
  SELECT
    user_id,
    DATE_TRUNC('week', MIN(created_at)) AS cohort_week
  FROM users
  GROUP BY user_id
),
user_activity AS (
  SELECT DISTINCT
    user_id,
    DATE_TRUNC('week', event_timestamp) AS activity_week
  FROM events
  WHERE ...
Activation Rate Query
SQL query to calculate activation rate by cohort and source
SQL
-- Activation Rate by Signup Cohort and Source
WITH signups AS (
  SELECT
    user_id,
    DATE_TRUNC('week', created_at) AS signup_week,
    acquisition_source
  FROM users
  WHERE created_at >= CURRENT_DATE - INTERVAL '90 days'
),
activations AS (
  SELECT DISTINCT user_id
  FROM events
  WHERE ev...
Event Tracking Utils
Utility functions for consistent event tracking across your application
JavaScript
const EventTracker = {
  formatEventName(object, action, context = null) {
    const parts = [object, action];
    if (context) parts.push(context);
    return parts.join('_').toLowerCase();
  },

  track(eventName, properties = {}) {
    const enrichedProps = {
      ...properties,
      timestamp:...

Need a Custom Tracking Spec?

Use our Growth OS Builder to generate custom tracking specs and implementation guides tailored to your product.