Create a marketing data contract policy: events, owners, SLAs, and QA.
- User
Create a marketing data contract policy: events, owners, SLAs, and QA.
Assistant
Create a marketing data contract policy: events, owners, SLAs, and QA.
The user wants a "Marketing Data Contract Policy." This implies a formal document that governs how marketing data (specifically tracking events) is managed within an organization. It needs to cover four specific areas:
Target Audience: Marketing Ops, Data Engineering, Product, and Analytics teams. Tone: Professional, structured, authoritative but actionable.
Structure of the Policy: I should structure this like a formal internal document.
Drafting Content - Section by Section:
category:object:action or just object_action. I'll define required attributes (User ID, Session ID, Timestamp).Refining the "Contract" aspect: A "Data Contract" is a specific concept where data producers and consumers agree on a schema. I should frame this policy as the mechanism to enforce that contract.
Self-Correction/Review:
Final Polish: Use clear headings, bold text for emphasis, and tables where appropriate for SLAs.
Let's build the response.
view_promotion, add_to_cart. Properties need specific types (string vs int).This looks solid. I will write it out now. This document outlines a comprehensive Marketing Data Contract Policy. This policy serves as the formal agreement between the Marketing Department (Data Producers/Consumers) and the Data Engineering/Analytics Team (Data Custodians) to ensure data quality, trust, and usability.
Version: 1.0 Status: Active Applicability: All marketing tracking tags, pixels, server-side events, and downstream reporting.
The goal of this policy is to establish a single source of truth for marketing performance. By enforcing strict standards for Events, Ownership, SLAs, and QA, we eliminate data discrepancies, reduce debugging time, and ensure that business decisions are made on accurate data.
All incoming data must adhere to a strict schema to ensure compatibility with the Data Warehouse and BI tools.
All events must follow a consistent taxonomy to prevent fragmentation (e.g., distinguishing between "Sign Up" and "Create Account").
object_action (e.g., lead_created, purchase_completed, demo_requested).No event is valid without specific contextual parameters. A "Purchase" event is useless if it lacks currency or transaction ID.
user_id (if known) or anonymous_id.utm_source, utm_medium, utm_campaign, utm_content.utc_time (ISO 8601 format).user_agent, ip (for geo-lookup, subsequently scrubbed).A data contract fails if no one knows who is responsible for maintaining it.
| Role | Responsibility | Who (Example) |
|---|---|---|
| Data Owner | Defines what needs to be tracked and the business logic. Approves changes. | Head of Marketing / Growth Lead |
| Data Steward | Manages the Tag Management System (e.g., GTM) and ensures naming conventions are followed. | Marketing Ops Manager |
| Data Engineer | Maintains the ingestion pipelines (Segment, Snowflake, BigQuery) and monitors data freshness. | Data Engineering Lead |
| Data Consumer | Uses the data for dashboards and decisions. Responsible for flagging anomalies. | Performance Marketers / Analysts |
These are the guarantees regarding data availability and issue resolution.
The time between a request for a new event and the data being available in the dashboard.
The maximum allowable time between a user action and the data appearing in the warehouse.
When data breaks (e.g., a tag stops firing or values are null), the following response times apply:
| Priority | Definition | Response Time | Resolution Time |
|---|---|---|---|
| P0 (Critical) | Revenue tracking is down; Data is not flowing to the warehouse. | < 1 Hour | < 4 Hours |
| P1 (High) | Major campaign tracking broken (e.g., Black Friday campaign URL params failing). | < 4 Hours | < 24 Hours |
| P2 (Medium) | Single event property missing; Historical data backfill required. | < 1 Business Day | < 3 Business Days |
| P3 (Low) | Cosmetic naming issues; Non-critical event additions. | < 3 Business Days | Next Sprint |
No code shall be pushed to Production without passing the QA protocol.
An event is considered "Live" only when:
Marketing tags create technical debt.
This policy is a living document. Requests for amendments to naming conventions or SLAs must be submitted via a pull request (PR) to the Data Dictionary repository and approved by the Data Owner and Data Engineering Lead.