Skip to content
Back to skills

Cross Platform Analytics Architecture

ASecurity

Design analytics architecture across web funnels, apps, authentication, billing and subscription systems, warehouses, product analytics tools, and ad-platform feedback loops. Use to decide project boundaries, canonical identity and aliasing, event source roles, attribution and click-ID preservation, cross-system identity bridges and join contracts, server-side conversion feedback, or cross-platform reporting architecture.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsrustgosqlreactdebuggingapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add 99ways-io/minetique --skill cross-platform-analytics-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cross Platform Analytics Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cross Platform Analytics Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/99ways-io-cross-platform-analytics-architecture/badge)](https://www.skillsdirectory.com/skills/99ways-io-cross-platform-analytics-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cross-platform-analytics-architecture
description: Design analytics architecture across web funnels, apps, authentication, billing and subscription systems, warehouses, product analytics tools, and ad-platform feedback loops. Use to decide project boundaries, canonical identity and aliasing, event source roles, attribution and click-ID preservation, cross-system identity bridges and join contracts, server-side conversion feedback, or cross-platform reporting architecture.
---

# Cross-Platform Analytics Architecture

## Core Standard

A web-to-app or multi-surface subscription funnel needs web, app, billing, and ad-platform feedback unified around one canonical user identity and one trustworthy production analytics model.

Design the architecture before interpreting metrics. A dashboard cannot fix broken identity, split source-of-truth projects, missing attribution, or billing events that cannot be joined back to acquisition. Shared mechanisms live in the [analytics and tracking playbook](../../wiki/analytics-and-tracking/analytics-and-tracking.md).

## System Roles

| Role | Typical system | Owns |
|---|---|---|
| Product analytics tool | Event analytics platform with web and app SDKs (e.g., Amplitude, Mixpanel, GA4) | Behavioral events, funnels, user-level properties, experiment exposure. |
| Auth provider | Authentication service or app backend | The canonical user ID. |
| Billing or subscription system | Payment processor (e.g., Stripe) or app-store subscription layer (e.g., RevenueCat) | Trials, purchases, renewals, refunds, cancellations, and revenue. |
| Warehouse | SQL warehouse holding raw event and source-system tables | Cross-system joins, ad spend, reconciliation, and long-horizon history. |
| Ad-platform feedback | Server-side conversion APIs (e.g., Meta CAPI, Google Ads) | Qualified conversion signals for bidding and attribution. |
| Mobile measurement partner (MMP) | MMP SDK in the app | App-install attribution. |

## Architecture Workflow

1. Map the business journey.
   - List each surface: website, web funnel, signup, checkout, app onboarding, app usage, billing, renewals, refunds, and ad-platform feedback.
   - Separate pre-auth anonymous behavior from authenticated behavior and server-side lifecycle events.

2. Choose source-of-truth boundaries.
   - Use one production analytics project when identity and funnel continuity matter across web, app, and billing.
   - Keep development, staging, preview, QA, and test traffic separate or clearly tagged.
   - Split projects, or tag users by domain, when several websites with different business intents would pollute each other's reporting.

3. Define canonical identity.
   - Name the canonical user ID source, usually the auth provider.
   - Alias or identify anonymous web users to the canonical user ID at signup.
   - Make billing identifiers (the billing system's customer or app-user ID) joinable to the same canonical user, preferably by registering the canonical ID in the billing system.
   - Preserve original anonymous IDs and external IDs as properties when they help debugging.

4. Assign event source roles.
   - Web funnel events capture acquisition context, intent, checkout entry, and pre-install behavior.
   - App events capture activation, onboarding, feature usage, content and community engagement, and retention.
   - Billing events capture trial starts, subscription starts, paid starts, renewals, refunds, cancellations, and revenue.
   - Server-side pipelines send qualified conversion feedback to ad platforms.

5. Preserve attribution through the journey.
   - Capture UTMs, referrer, landing page, and click IDs such as `gclid`, `gbraid`, `wbraid`, `fbclid`/`fbc`, `ttclid`, `rdt_cid`, `epik`, and `sccid`.
   - Persist browser context (click IDs, IP, user agent, URL) on the user before later server-side billing events arrive.
   - Treat ROAS as a joined reporting problem when ad spend lives outside the analytics tool.
   - Store MMP install attribution in namespaced set-once user properties (e.g., `mmp_*`, `install_utm_*`), sent once per install behind a local flag, because MMP SDKs can return cached attribution on every launch. Keep it out of the analytics tool's web first-touch fields (`utm_*`, initial referrer and channel): MMP source names differ from web UTMs, would skew channel reports built from first-touch values, and would fill a missing web first touch with "Organic".
   - Report the web first touch when the user started on the web, otherwise the MMP install source. Read MMP "Organic" as an upper bound: store installs by web buyers and iOS paid-social installs without ATT consent appear organic. When login merges the anonymous app profile into the identified web profile, check which side's value the tool keeps for shared properties; where the identified profile wins, the web first touch survives. In a web-to-app funnel, measure the share of signed-in app installers who started on the web before trusting install attribution.

6. Define quality gates.
   - Confirm events fire at the semantic business moment, not at proxy clicks.
   - Confirm IDs survive landing, signup, checkout, app login, billing, and renewals.
   - Confirm internal and test traffic rules.
   - Confirm destination mappings, timestamps, dedupe keys, value logic, and failure monitoring.

## Cross-System Identity Validation

When one system supplies the eligible or exposed population and another supplies product behavior, revenue, or lifecycle outcomes, validate the observed identity bridge before calculating a downstream rate. A planned canonical ID is not evidence that historical records join correctly.

1. Inventory candidate bridges.
   - Compare source-system customer or user IDs with the analytics tool's event-level IDs (device or anonymous IDs), its resolved user ID, auth IDs, billing IDs, and other emitted identifiers.
   - Treat email as a fallback only when it is available, appropriate for the data boundary, and stable enough for the question.

2. Measure each bridge.
   - Report source records, matched records, unmatched records, distinct analytics users reached, and one-to-many or many-to-one mappings.
   - Test current and historical event windows when the population may contain lapsed, reactivated, migrated, or long-lived users.

3. Diagnose an informative sample of unmatched records.
   - Distinguish no analytics history, only pre-period history, missing current user properties, changed identifiers, and merged or split identities.
   - Ease of querying does not make a current user property authoritative; it can be absent, stale, or never backfilled.

4. Select and document the bridge.
   - Prefer the identifier carried by the event history closest to the behavior being measured, then resolve it to the user-level ID only when user-level aggregation is required.
   - Preserve the source-system eligible or exposed population. Unmatched users are a measured join-coverage state, never silent exclusions; for intent-to-treat analysis they stay in the denominator with no observed downstream activity.

5. Publish a join contract.
   - State the source table or event, join keys and direction, time window, identity-resolution rule, match rate, treatment of unmatched records, and known ambiguity.
   - Revalidate after authentication, billing, migration, SDK, or warehouse changes that can alter identifier behavior.

## Ad-Platform Conversion Feedback

Build destinations as server-side conversion architecture on verified semantic source events; mechanisms and platform traps live in [server-side conversion feedback](../../wiki/analytics-and-tracking/attribution-and-ad-signals.md#server-side-conversion-feedback). Specify each mapped event:

| Field | Contract |
|---|---|
| Source event | Semantic event or saved definition, with filters. |
| Destination event | Platform event or conversion-action name. |
| User data | Required and optional match fields (hashed email or phone where allowed, IP, user agent, click IDs, external ID). |
| Custom data | Product, value, currency, content, and context fields. |
| Timestamp | Original business-action time, the platform's accepted upload window, and handling of invalid or future times. |
| Deduplication | Order, transaction, or event ID shared by browser and server paths and reused on retries. |
| Gates | Skip or fail conditions for missing match data, internal traffic, and stale timestamps. |
| QA | Test path, expected result, and the delivery logs and platform diagnostics to inspect. |

Common failures: source events fire before the business action is true; click IDs are lost before signup or checkout; server billing events lack browser IP and user-agent context; subscription timestamps are future-dated, stale, or outside upload windows; dedupe keys are unstable or reused across conversions; values use the wrong unit, currency, or a stale product lookup; internal traffic feeds optimization; a field left empty to avoid sensitive data makes the platform drop every event that lacks it.

Changing a live destination is a production change: stage it as a draft or disabled copy, dry-run it against real events without sending, record the prior version for rollback, and publish only with approval from the system's owner or the person accountable for it.

## Decision Rules

- Prefer one production analytics project for web, app, and billing events when user-level continuity matters.
- Split projects only when reporting pollution, access boundaries, or unrelated business intent justify it; differing surfaces alone do not.
- Treat billing events as sufficient only when they join to acquisition and product behavior.
- Send ad platforms only events that fire once the business action is true.
- Use server-side conversion feedback when browser-only tracking would lose too much signal.

## Output

Return an architecture brief with:

- surface map and system roles;
- source-of-truth project recommendation;
- canonical identity and aliasing plan;
- event source role map;
- attribution and click-ID preservation plan;
- billing and revenue join plan;
- ad-destination feedback plan with per-event contracts;
- cross-system identity-bridge validation and join contract where several sources contribute to one metric;
- QA gates and open risks.

Files in this skill

  • SKILL.md10.1 KB
  • agents/openai.yaml306 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.