---
file: stack.md
owner_role: <martech-lead>
approver_role: <head-of-marketing-operations>
status: draft
version: 1
effective_from: <YYYY-MM-DD>
last_reviewed: <YYYY-MM-DD>
review_by: <YYYY-MM-DD>
review_cadence: monthly drift check
change_triggers: [tool added, replaced or removed, new property or container, consent change, owner or agency change, contract end]
open_items: 0
---

# Stack

Copy to `martech-context/stack.md`. Public identifiers only. Credentials are recorded by storage location, never by value. Mark anything not yet confirmed `(inferred, confirm)`.

## Open items

- <question> | owner: <role> | due: <YYYY-MM-DD>

## Business and environments

- Business model: <what is sold, self-serve or sales-led>
- Counting units: <person, account, workspace, order, subscription>; one person can belong to <one | several> accounts.
- Environments: production <domains, apps>; staging <domains>; test properties or sandboxes <list>.
- Domains and apps that send data: <www.example.com, app.example.com, iOS app, Android app>
- Reporting time zone and currency used for business reporting: <IANA zone, ISO 4217 code>
- Scope: <brand or business unit, only if several share this repository>

## Tools

Repeat one block per tool and environment. Group by layer: collection, routing, destinations, storage and modelling, activation.

### <Tool name> (<environment>)

- Layer: <collection | routing | destination | storage and modelling | activation>
- Job: <one line: the decision or workflow it serves>
- Status: <active | migrating to X from YYYY-MM-DD | retiring on YYYY-MM-DD | retired on YYYY-MM-DD>
- Operated by: <role>; change approver: <role>; can publish or change: <roles>
- Account owned by: <company | agency>; company-held admin roles: <count and roles, no names>
- Linked under: <manager account or business portfolio, owned by company | agency, or none>; access last reviewed: <YYYY-MM-DD>
- Identifiers: <container, property, stream, account, customer, pixel or dataset IDs, project and dataset names>
- Data in: <from which senders, by which method>
- Data out: <to which destinations, by which method, how often>
- Agent access: <export path, or MCP server and its read-only mode, or none>
- Credentials: <secret name and where it is stored; never the value>
- Settings that change numbers: <time zone, currency, attribution model and window, consent mode, filters, channel groups; link the decisions.md entry that set each>
- Contract or renewal: <date, only if it drives decisions>
- Last verified: <YYYY-MM-DD> by <export file, tool call or repo scan>; baseline: <inventory/YYYY-MM-DD.yaml, export file name and version, or hash>

Add the lines that apply to the tool's kind. Other skills read these by name.

- Tag manager: serves <sites and hostnames>; server container host: <host or none>; tag gateway: <none | path on own domain | CDN-level>; retired container and destination IDs: <list>
- Analytics: edition <GA4 standard | GA4 360>; stream IDs: <list>; BigQuery export: <project, dataset, location>
- Ad platform: manager account: <ID>; campaign classes: <brand: naming pattern or label | non-brand | competitor | Performance Max>; Google Ads Editor version: <version>; imports posted by: <role>
- ESP or messaging: workspaces: <list>; REST cluster or region: <value>; SDK platforms and versions: <web x.y, iOS x.y, Android x.y>; systems that write to it: <SDKs, backend, warehouse sync, CSV imports, partner integrations>
- CRM: hubs or products and editions: <list>; other CRMs: <list or none>; connectors: <list>
- Mobile: SDKs and versions: <MMP, analytics, messaging>; app IDs per store: <placeholders>

## Data flows

One line per flow. Flag any destination with two senders.

- <source> -> <destination>: <method>, <frequency>, owner <role>
- <web GTM container> -> <GA4 property>: <Google tag>, real time, owner <role>

## Consent

- CMP: <tool>; regions: <list>; Google consent mode: <basic | advanced | not used>
- Approved consent model: see `decisions.md` entry <ID>.

## Context copies

Derived copies of this folder in other tools. Update after any change to the source file.

- <Vendor AI context feature, org or project> | source: <file, metric IDs and version> | copied: <YYYY-MM-DD> | owner: <role>

## Archive

Retired tools stay here with their dates so historical questions still resolve.
