Meridian provides configuration intelligence for Adobe Analytics, serving as a living data dictionary that documents your report suite implementation. It gives analysts, developers, and stakeholders a single source of truth for understanding how your Adobe Analytics data is structured and collected.
Converted from RShiny SDR to Python/Flask.
- Report Suite Overview — Landing page with configuration health stats and cache status
- Report Suites — Browse all report suites in the Adobe Analytics company with key configuration stats
- Conversion Variables (eVars) — View all eVars with allocation, expiration, descriptions, and 30-day trend charts
- Traffic Variables (Props) — Browse props with pathing and list support settings, and 30-day trend charts
- Success Events — List all events with type, serialisation, descriptions, and 30-day trend charts
- List Variables — View ListVar configurations, delimiters, and 30-day trend charts
- Segments — Browse all segments defined in the report suite (API 2.0)
- Calculated Metrics — View all calculated metrics with formula cross-references and 30-day trend charts (API 2.0)
- Processing Rules — Display all processing rules with conditions and actions (archived — see API 1.4 data)
- Marketing Channels — Browse channel definitions and settings (API 2.0)
- Channel Rules — View marketing channel classification rules (archived — see API 1.4 data)
- Detail Views — Drill into individual dimensions, events, segments, and metrics for full configuration details, including related Processing Rules, Marketing Channel Rules, and Adobe Launch rules
- Dimension Notes — Annotate any dimension or event with plain-English descriptions, technical context, platform availability, and user-managed tags
- CSV Export — Export any configuration table for documentation or audits
- Background Pre-Caching — Configuration data is pre-warmed at startup and refreshed every 24 hours
- Cache Management — View cache status for all data sources; force-refresh individual caches on demand
- API Debug — Interactive browser-based explorer for all Adobe Analytics API 2.0 endpoints; browse, inspect parameters, and send read-only requests proxied securely through the server
- Adobe Launch Integration — See which Launch (Tags) rules reference each variable, with Action/Condition/Event badges and match-quality indicators to distinguish genuine variable assignments from name-only matches
For a detailed step-by-step walkthrough, see docs/quick-start.md (local) and docs/quick-start-docker.md (Docker).
- Python 3.13+
- uv package manager
- Adobe Analytics API credentials (see Configuration)
# Clone the repository
git clone https://github.com/waffledoghq/meridian.git
cd meridian
# Install dependencies
uv sync
# Create a secrets directory and copy the config template
mkdir -p ~/secrets/meridian
cp config.dist.json ~/secrets/meridian/acme.json
# Edit ~/secrets/meridian/acme.json with your credentials
# Point Meridian to the secrets directory
export MERIDIAN_SECRETS_DIR=~/secrets/meridian# Start the Flask development server
uv run run.py
# Default: http://127.0.0.1:5010
# Custom port: PORT=5011 uv run run.pyThe app is available at http://127.0.0.1:5010. The root / shows the brochure site; your client dashboard is at http://127.0.0.1:5010/<client>/ (where <client> is the filename stem of your config, e.g. acme).
# Verify setup (checks config, directories, imports)
uv run verify_setup.pyMeridian uses a secrets directory model: credentials are stored in per-client JSON files rather than a single config.json. This allows a single Meridian instance to serve multiple clients.
Set the MERIDIAN_SECRETS_DIR environment variable to a directory containing one JSON file per client:
~/secrets/meridian/
├── acme.json → accessible at /acme/
└── another-co.json → accessible at /another-co/
Use config.dist.json as the template for each file. Files starting with _ are reserved and ignored.
| Key | Description |
|---|---|
APP_TITLE |
Name displayed in the header (e.g., "Acme Corp") |
AW_REPORTSUITE_ID |
Your Adobe Analytics report suite ID |
| Key | Description |
|---|---|
CLIENT_ID |
OAuth2 Client ID from Adobe I/O Console |
CLIENT_SECRET |
OAuth2 Client Secret |
ORGANIZATION_ID |
Your Adobe Org ID (e.g., ABC123@AdobeOrg) |
SCOPES |
OAuth2 scopes (optional, has sensible defaults) |
Note:
API_VERSIONand the API 1.4 keys (AW_USERNAME,AW_SECRET,API_V14_TIMEOUT) are obsolete. Existing configs that still contain them keep working: the 1.4 keys are ignored, and anyAPI_VERSIONother than"2.0"logs a warning.
{
"APP_TITLE": "Acme Corp",
"AW_REPORTSUITE_ID": "acmeprod",
"CLIENT_ID": "your-client-id",
"CLIENT_SECRET": "your-client-secret",
"ORGANIZATION_ID": "ABC123@AdobeOrg",
"SCOPES": "openid, AdobeID, additional_info.projectedProductContext",
"LAUNCH_ENABLED": false,
"LAUNCH_PROPERTY_ID": "",
"LAUNCHPAD_URL": ""
}Note:
LAUNCH_ENABLED,LAUNCH_PROPERTY_ID, andLAUNCHPAD_URLare optional. Enable to surface Adobe Launch rules on dimension detail pages.
Meridian uses the Adobe Analytics API 2.0 (OAuth2) for all report suite data. OAuth2 credentials are obtained from the Adobe I/O Console.
Adobe has retired API 1.4, and Meridian no longer calls it. Processing rules, marketing channel rules and list variable settings have no API 2.0 replacement, so those pages show the last copy Meridian captured from API 1.4: the cached copy while it lasts, then a long-lived archive snapshot. An admin can import a newer snapshot from the Archive page. See docs/api-1.4-sunset.md.
See docs/quick-start-docker.md for the full Docker setup guide.
# Create a secrets directory next to docker-compose.yml
mkdir -p secrets
cp config.dist.json secrets/acme.json
# Edit secrets/acme.json with your credentials
# Build and run
docker compose up -d --build
# View logs
docker compose logs -fThe app listens on port 5010. The docker-compose.yml mounts ./secrets as a read-only volume and sets MERIDIAN_SECRETS_DIR automatically.
meridian/
├── app/
│ ├── routes/ # Flask route handlers
│ │ ├── main.py # All client routes (prefixed /<client>/)
│ │ └── auth.py # Auth routes (login, callback, logout)
│ ├── services/ # API wrappers and business logic
│ │ ├── adobe_analytics_v2.py # API 2.0 client (OAuth2)
│ │ ├── adobe_auth.py # OAuth2 token management
│ │ ├── adobe_launch.py # Adobe Reactor (Tags) API client
│ │ ├── cache.py # JSON file-based caching
│ │ ├── cache_warmer.py # Background cache pre-warming (APScheduler)
│ │ ├── config_loader.py # Multi-client config loader (MERIDIAN_SECRETS_DIR)
│ │ ├── git_info.py # Git branch/commit info for footer
│ │ ├── legacy_archive.py # Archive snapshots for retired API 1.4 data
│ │ └── notes.py # Dimension annotation storage
│ ├── static/
│ │ └── brochure/ # Brochure site assets (CSS, JS, images)
│ └── templates/ # Jinja2 HTML templates
├── assets/ # Project assets (Swagger specs, screenshots)
│ └── swagger/ # Adobe Analytics API 2.0 and Reactor Swagger specs
├── cache/ # Cached API responses (git-ignored)
├── exports/ # CSV exports directory
├── notebooks/ # Jupyter notebooks for API exploration
├── docs/ # Documentation and post-mortems
└── config.dist.json # Config template (copy to $MERIDIAN_SECRETS_DIR/<client>.json)
All client routes are prefixed with /<client>/ where <client> is the filename stem of the config JSON:
| URL | Content |
|---|---|
/ |
Brochure site |
/<client>/ |
Client overview dashboard |
/<client>/evars |
eVar listing |
/<client>/props |
Prop listing |
/<client>/events |
Event listing |
/<client>/... |
All other Meridian routes |
https://meridian.waffledog.com.au
- IDE: PyCharm 2025.3
- Python: 3.13+
- Package Manager: uv
See docs/version-3-roadmap.md for the full v3 plan with complexity assessments and implementation details.
All v2.0 features are complete. See docs/version-2-roadmap.md for the full list.
- API 1.4 Deprecation Strategy — API 1.4 removed; 1.4-only data served from archive snapshots (see docs/api-1.4-removal-plan.md)
- Unit & Integration Tests — establish a testing foundation with pytest
- Report Suite Selection — allow users to select a report suite in Settings
- User OAuth login — per-user Adobe IMS login (config scaffolding in place)
- Adobe Spectrum Theme — offer Adobe's design system as a theme option
- Self-Hosted Assets — remove dependency on third-party CDNs
No known issues at this time. See docs/todo.md for the full history of bugs and fixes.
API 1.4 removed: everything runs on Analytics API 2.0, and processing rules, channel rules and listvar settings are served from archive snapshots that can be refreshed by importing saved Adobe admin UI pages. See CHANGELOG.md for details.
Development version focused on:
- Addressing API 1.4 deprecation (Adobe's August 2026 shutdown)
- Adding automated tests
- Settings page enhancements (report suite selection, Launch property mapping)
- Continued infrastructure improvements
Major feature release built on top of the original Flask conversion. All new features use the Adobe Analytics API 2.0 (OAuth2) or Adobe Reactor API where applicable.
| Feature | Description |
|---|---|
| Report Suite Overview | Landing page with configuration health stats and cache status |
| Segments | Listing and detail pages via API 2.0; human-readable container breakdown |
| Calculated Metrics | Listing, detail pages, formula cross-references, and 30-day trend charts |
| Processing Rules cross-linking | Detail pages show which rules reference each dimension |
| Marketing Channel Rules cross-linking | Detail pages show which channel rules reference each dimension |
| Adobe Launch integration | Detail pages show which Launch (Tags) rules set each variable |
| Background Pre-Caching | Configuration data pre-warmed at startup and refreshed every 24 hours |
| Cache Management | View per-key cache status and force-refresh on demand |
| API Debug | Interactive browser-based explorer for all API 1.4 and 2.0 endpoints |
| Reactor Debug | Interactive explorer for Adobe Launch Reactor API endpoints |
| Dimension Notes | Per-dimension plain-English annotations persisted to disk |
| Data Feed column names | Each dimension detail page shows the corresponding data feed column |
| User-managed Tags | Rename, add, and remove tag options in the Notes panel at runtime |
| Listing page improvements | Sticky headers, lighter alternating rows, toolbar consolidation |
| Detail page panel layout | Processing Rules, Channel Rules, and Launch panels moved to right column |
| Accurate dimension trend charts | Trend charts scoped to dimension-specific hits; eVars use evar<n>instances, props use a metricFilters segment, events use an event-exists segment |
| Launch match type badges | Action / Condition / Event badges parsed from delegate_descriptor_id; "Name match" badge flags rule-name-only matches as potential false positives |
| Multisite routing | Single deployment serves multiple clients via /<client>/ URL prefix; per-client credential files in MERIDIAN_SECRETS_DIR |
| Brochure site | Product landing page served at /; all client apps continue at /<client>/ |
| Themes & Settings | Light / Dark / Auto theme selector with Bootstrap 5.3 dark mode; Settings page with gear icon in navbar |
| User OAuth login (partial) | Config scaffolding in place; per-user Adobe IMS login planned for a future release |
Initial conversion of the RShiny SDR application to Python/Flask with Docker support.
| Feature | Description |
|---|---|
| eVars listing and detail | Allocation, expiration, and description for all conversion variables |
| Props listing and detail | Pathing, list support settings for all traffic variables |
| Events listing and detail | Type, serialisation, and descriptions for all success events |
| ListVars listing and detail | ListVar configuration and top-10 value data |
| Processing Rules | Display all processing rules with conditions and actions |
| Marketing Channels | Channel definitions and channel classification rules |
| Core Dimensions | Out-of-the-box Adobe Analytics dimensions |
| CSV Export | Export any configuration table |
| File-based caching | JSON cache with configurable TTL to reduce API calls |
MIT
Last updated: 2026-07-12
