# [Project Name] Tagging Plan v1.0

## Document Information

| Field | Value |
|-------|-------|
| Project | [프로젝트명] |
| Client | [클라이언트명] |
| Website/App | [URL] |
| Version | 1.0 |
| Last Updated | YYYY-MM-DD |
| Author | [작성자] |
| Status | Draft / Review / Approved |

---

## 1. Executive Summary

### 1.1 Measurement Objectives
| Priority | Objective | KPI | Target |
|----------|-----------|-----|--------|
| P1 | | | |
| P2 | | | |
| P3 | | | |

### 1.2 Key Conversions
| Conversion | Type | Value | Platform |
|------------|------|-------|----------|
| | Hard/Soft | | GA4, GAds, Meta |

---

## 2. Event Specification

### 2.1 GA4 Recommended Events
| Event | Trigger | Required Params | Status |
|-------|---------|-----------------|--------|
| page_view | All pages | - | ✅ |
| view_item | Product page | items[], value, currency | |
| add_to_cart | Add button | items[], value, currency | |
| begin_checkout | Checkout start | items[], value, currency | |
| purchase | Thank you | transaction_id, items[], value, currency | |

### 2.2 Custom Events
| Event | Purpose | Trigger | Parameters |
|-------|---------|---------|------------|
| | | | |

---

## 3. DataLayer Specification

### 3.1 Page Load Data
```javascript
dataLayer.push({
  'event': 'page_data',
  'page': {
    'type': '[page_type]',
    'name': '[page_name]'
  },
  'user': {
    'status': '[logged_in|logged_out]',
    'id': '[hashed_user_id]'
  }
});
```

### 3.2 E-commerce Events
→ See datalayer-schema.md

---

## 4. Tag Configuration

### 4.1 GA4 Tags
| Tag Name | Trigger | Variables |
|----------|---------|-----------|
| GA4 - Config - Main | All Pages | Const - GA4 ID |
| GA4 - Event - [event] | DL - [event] | DLV - ecommerce.* |

### 4.2 Google Ads Tags
| Tag Name | Conversion ID | Label | Trigger |
|----------|---------------|-------|---------|
| | | | |

### 4.3 Meta Pixel Tags
| Tag Name | Event | Trigger |
|----------|-------|---------|
| Meta - PageView | PageView | All Pages |
| | | |

### 4.4 Kakao Pixel Tags
| Tag Name | Event | Trigger |
|----------|-------|---------|
| | | |

---

## 5. Custom Dimensions & Metrics

### Custom Dimensions
| Name | Scope | Parameter | Values |
|------|-------|-----------|--------|
| | User/Event | | |

### Custom Metrics
| Name | Unit | Event Source |
|------|------|--------------|
| | Count/Currency | |

---

## 6. Platform Mapping

| GA4 Event | Meta | Kakao | Google Ads |
|-----------|------|-------|------------|
| view_item | ViewContent | viewContent | - |
| add_to_cart | AddToCart | addToCart | - |
| purchase | Purchase | purchase | purchase |

---

## 7. Implementation Timeline

| Phase | Task | Owner | Due | Status |
|-------|------|-------|-----|--------|
| 1 | DataLayer 구현 | Dev | | ☐ |
| 2 | GTM 태그 설정 | Analytics | | ☐ |
| 3 | QA 테스트 | QA | | ☐ |
| 4 | 프로덕션 배포 | Dev | | ☐ |

---

## 8. QA Checklist
→ See qa-checklist.md

---

## Appendix

### A. Naming Conventions
→ See naming-conventions.md

### B. Change Log
| Version | Date | Author | Changes |
|---------|------|--------|---------|
| 1.0 | | | Initial version |
