How snowplow/dbt-snowplow-unified works
Main Components
a. Data Sources Layer:
• Snowplow JavaScript Tracker (Web)
• iOS Tracker (Mobile)
• Android Tracker (Mobile)
• React Native Tracker (Mobile)
b. Raw Data Layer:
• Web Events
• Mobile Events
• Context Data (webpage, geolocation, user agent, etc.)
c. Processing Layer (Core dbt Models):
• Base Models (/models/base/)
• Scratch Models (intermediate transformations)
• Incremental Processing Framework
d. Output Models Layer:
• Views Model (snowplow_unified_views)
• Sessions Model (snowplow_unified_sessions)
• Users Model (snowplow_unified_users)
• User Mapping Model (snowplow_unified_user_mapping)
e. Optional Modules Layer:
• App Errors
• Consent Management
• Conversions
• Core Web Vitals
Relationships and Data Flow
• Event flow from trackers to raw data
• Incremental processing flow through the models
• Dependencies between models (base → scratch → final models)
• Optional module integration points
Technical Details
• Supported Databases (Snowflake, BigQuery, Databricks, Redshift & Postgres)
• dbt version requirement (≥1.6.0)
• Required contexts (webpage context)
• Incremental processing indicators
Additional Elements
• Notes about incremental processing
• Integration points for custom models
• Test coverage points
Key Architectural Patterns to Emphasize
• Modular design pattern
• Incremental processing pattern
• Data transformation pipeline
• Identity stitching framework
Remember to include a version indicator and any relevant configuration dependencies, as this package requires specific setup for different warehouse platforms.