> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wisepilot.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Optimization System Overview

> Track the full funnel from content to conversions with data-driven optimization.

The Optimization System tracks the full funnel from content to conversions, enabling data-driven optimization decisions.

## What It Does

The system tracks:

* **Search Performance:** Google Search Console impressions, clicks, CTR, position
* **Traffic:** Google Analytics 4 pageviews, users, engagement
* **CTA Performance:** CTA views and clicks from Google Tag Manager
* **Conversions:** Form submissions from HighLevel CRM
* **Attribution:** Links form submissions back to originating content/CTAs

## How It Works

1. **Event Collection:** Real-time events flow in from GTM (CTA views/clicks) and HighLevel webhooks (form submissions). Google data (GA4 + GSC) is imported daily as snapshots.
2. **Attribution:** Each visitor gets a unique `cr_attrib` ID that follows them through the funnel
3. **Rollup:** Each night, all event data is aggregated into a single performance record per asset per day
4. **Scoring:** Assets are scored based on weighted metrics and confidence multipliers. Scores update daily.
5. **Objectives:** AI assigns optimization objectives and tracks performance changes over time
6. **Insights:** Weekly analysis surfaces content gaps, growth opportunities, and performance digests

Most of this pipeline is fully automated — see [Automation & Data Freshness](/optimization/automation) for what runs when, expected delays, and what actions are manual.

## Key Concepts

* **Attribution ID (`cr_attrib`):** A UUID that identifies a visitor session and links CTA clicks to form submissions
* **Asset Performance Daily:** Aggregated rollup that combines all metrics per asset per day — rebuilt nightly from raw events
* **Optimization Score:** Weighted score (0–100) based on performance metrics, adjusted by a confidence multiplier
* **Confidence Tier:** High/Medium/Low based on data quality (join coverage, freshness, sample size)
* **Data Freshness:** How recently each data source was last refreshed — see [Data Quality](/optimization/data-quality) to monitor
