Marketing Campaign Execution
Plan, execute, and measure digital marketing campaigns across content, social, email, and analytics.
Contents
Quick Start
Generate UTM Parameters
Source: where traffic originates (google, facebook, newsletter)
Medium: how it arrives (cpc, email, social, organic)
Campaign: initiative name (spring-sale-2025, product-launch)
Format: lowercase, hyphens, no spaces
Input: "Spring Sale 2025" → Output: "spring-sale-2025"
Input: "Q1 Launch Campaign" → Output: "q1-launch-campaign"
Example: ?utm_source=linkedin&utm_medium=social&utm_campaign=q1-launch
Create Email Sequence
- Welcome (immediate): Set expectations, deliver promised value
- Value (day 2-3): Best content or quick win
- Engagement (day 5-7): Encourage reply or action
- Offer (day 10): Clear CTA with incentive
Plan Content Calendar
Essential fields: Title, Target keyword, Funnel stage (TOFU/MOFU/BOFU), Format, Owner, Publish date, Distribution channels.
Check Campaign Performance
Primary metrics by channel:
- Email: Open rate (43% avg), CTR (2% avg), Conversion rate
- Social: Engagement rate, Reach, Click-through
- Paid: ROAS, CPA, CTR
- Content: Traffic, Time on page, Conversions
Domain Reference Guide
| Need |
Reference |
When to Load |
| Plan content strategy |
content-strategy.md |
Topic clusters, calendars, funnel mapping, repurposing |
| Execute social media |
social-media.md |
Platform tactics, posting times, engagement benchmarks |
| Build email campaigns |
email-marketing.md |
Sequences, subject lines, segmentation, deliverability |
| Track campaigns |
utm-tracking.md |
UTM formatting, naming conventions, GA4 alignment |
| Measure performance |
analytics-measurement.md |
KPIs, GA4 setup, attribution, ROI calculations |
| Launch products |
gtm-tools.md |
GTM frameworks, positioning, tool selection |
| Define brand voice |
brand-guidelines.md |
Voice dimensions, tone, messaging framework, terminology |
| Optimize for search |
seo-optimization.md |
Technical SEO, on-page, content SEO, link building, E-E-A-T |
| Optimize for AI |
geo-optimization.md |
GEO, LLMO, AEO, AI Overviews, chatbot visibility |
Scripts
Python utilities for campaign automation:
| Script |
Purpose |
Usage |
| utm_tools.py |
UTM generation, validation, batch processing, QR codes |
python utm_tools.py generate --source facebook --medium paid-social --campaign q1-launch |
| brand_checker.py |
Brand voice compliance, readability scoring, banned words |
python brand_checker.py check --file copy.txt |
Script Quick Reference
Generate and validate UTMs:
# Generate UTM parameters
python scripts/utm_tools.py generate -s facebook -m paid-social -c spring-2025
# Build complete tracking URL
python scripts/utm_tools.py build -u https://example.com -s email -m newsletter -c q1-launch
# Validate existing URL
python scripts/utm_tools.py validate -u "https://example.com?utm_source=email&utm_medium=cpc"
# Batch process from CSV
python scripts/utm_tools.py batch -f campaigns.csv -u https://example.com -o tracking.csv
# Check GA4 channel mapping
python scripts/utm_tools.py ga4-check -s facebook -m paid-social
Check brand compliance:
# Full compliance check
python scripts/brand_checker.py check --file marketing_copy.txt
# Check readability score
python scripts/brand_checker.py readability --text "Your marketing copy here"
# Find banned words
python scripts/brand_checker.py banned --file email_draft.txt
# Full audit with JSON output
python scripts/brand_checker.py full-audit --file campaign.txt --output report.json
Workflow Decision Tree
What does the user need?
Creating or planning content?
├─ Yes → content-strategy.md
│ • Topic clusters, pillar pages
│ • Content calendars (annual/quarterly/weekly)
│ • TOFU/MOFU/BOFU mapping
│ • Repurposing workflows
└─ No ↓
Platform-specific social guidance?
├─ Yes → social-media.md
│ • Instagram, LinkedIn, TikTok, X, Facebook
│ • Posting cadence and timing
│ • Algorithm priorities
│ • Engagement benchmarks
└─ No ↓
Email campaigns or sequences?
├─ Yes → email-marketing.md
│ • Welcome, drip, re-engagement sequences
│ • Subject line optimization
│ • Segmentation strategies
│ • Deliverability requirements
└─ No ↓
UTM parameters or tracking URLs?
├─ Yes → utm-tracking.md + scripts/utm_tools.py
│ • Parameter formatting rules
│ • Naming conventions
│ • GA4 channel alignment
│ • Dynamic parameters for ads
│ • Batch URL generation
└─ No ↓
Analytics, metrics, or reporting?
├─ Yes → analytics-measurement.md
│ • KPIs by channel
│ • GA4 configuration checklist
│ • Attribution models
│ • ROI formulas
└─ No ↓
Product launch or go-to-market?
├─ Yes → gtm-tools.md
│ • SOSTAC, RACE, AARRR frameworks
│ • Launch campaign structure
│ • Positioning methodology
│ • Marketing tool selection
└─ No ↓
Brand voice, tone, or messaging?
├─ Yes → brand-guidelines.md + scripts/brand_checker.py
│ • Voice dimension matrix
│ • This-but-not-that chart
│ • Messaging framework
│ • Terminology standards
│ • Compliance checking
└─ No ↓
SEO or search engine optimization?
├─ Yes → seo-optimization.md
│ • Technical SEO (crawling, indexing, speed)
│ • On-page SEO (titles, headers, content)
│ • Content SEO (E-E-A-T, topic clusters)
│ • Link building strategies
│ • Core Web Vitals
└─ No ↓
AI visibility, GEO, or chatbot optimization?
├─ Yes → geo-optimization.md
│ • Generative Engine Optimization (GEO)
│ • LLMO (Large Language Model Optimization)
│ • AEO (Answer Engine Optimization)
│ • ChatGPT, Perplexity, AI Overviews visibility
│ • Content structure for AI citation
└─ No → Clarify the specific marketing need
Multi-Domain Loading Order
For requests spanning multiple domains, load references in priority order:
| Request Type |
Primary |
Secondary |
Supporting |
| Product launch |
gtm-tools.md |
brand-guidelines.md, content-strategy.md |
email-marketing.md, social-media.md |
| Campaign tracking |
utm-tracking.md |
analytics-measurement.md |
— |
| Quarterly plan |
content-strategy.md |
social-media.md, email-marketing.md |
analytics-measurement.md |
| Performance optimization |
analytics-measurement.md |
(channel-specific) |
— |
| Brand voice |
brand-guidelines.md |
brand_checker.py |
— |
| Search rankings |
seo-optimization.md |
content-strategy.md |
analytics-measurement.md |
| AI visibility |
geo-optimization.md |
seo-optimization.md |
content-strategy.md |
| Full strategy |
seo-optimization.md, geo-optimization.md |
content-strategy.md, social-media.md |
email-marketing.md, analytics-measurement.md |
Campaign Validation Checklist
Before launching any campaign, verify:
Strategy
Tracking
Content
Technical
Persona Adaptation
Beginner signals: Asks "what is," "how do I," "why should I," unfamiliar terminology, requests explanations.
→ Provide concept context before tactics. Explain frameworks. Offer templates.
Experienced signals: Uses correct terminology, asks for benchmarks, requests templates, mentions specific tools.
→ Skip fundamentals. Provide benchmarks, templates, advanced tactics directly.
Boundaries
In scope:
- Campaign strategy and planning
- Content calendars and topic clusters
- Social media tactics and scheduling guidance
- Email sequences and copy frameworks
- UTM parameter generation and governance
- Marketing analytics and KPI frameworks
- Go-to-market planning and positioning
- Marketing tool recommendations
- Brand voice and messaging frameworks
- Copy compliance checking
- SEO optimization (technical, on-page, content, E-E-A-T)
- GEO/AI visibility optimization (ChatGPT, Perplexity, AI Overviews)
Out of scope (suggest alternatives):
- Paid ad campaign management (bid strategies, audience targeting)
- CRM workflow implementation
- Website design/development
- Brand identity design (logos, colors, visual design)
- PR and media relations
- General copywriting (not campaign-specific)
Clarify before proceeding:
- "Help with marketing" → Which domain?
- "Improve my ads" → Creative/copy (in scope) or campaign management (out of scope)?
- "Analytics setup" → Marketing analytics or general web analytics?
- "Brand guidelines" → Voice/messaging (in scope) or visual identity (out of scope)?
1---2name: running-marketing-campaigns3description: Plans, creates, and optimizes digital marketing campaigns including content strategy, social media, email marketing, SEO, and AI visibility (GEO). Generates UTM parameters and tracking URLs. Helps develop go-to-market strategies, campaign messaging, content calendars, and performance measurement frameworks. Use when asked to "create a marketing campaign", "plan content strategy", "build email sequences", "set up UTM tracking", "analyze marketing metrics", "launch a product", "optimize for SEO", "improve AI visibility", "optimize for voice search", "set up IndexNow", "check accessibility for SEO", or "create social media previews". Supports both marketing beginners and experienced marketers needing templates.4license: MIT5---6
7# Marketing Campaign Execution
8
9Plan, execute, and measure digital marketing campaigns across content, social, email, and analytics.
10
11## Contents
12
13- [Quick Start](#quick-start)
14- [Domain Reference Guide](#domain-reference-guide)
15- [Scripts](#scripts)
16- [Workflow Decision Tree](#workflow-decision-tree)
17- [Multi-Domain Queries](#multi-domain-queries)
18- [Campaign Validation Checklist](#campaign-validation-checklist)
19- [Persona Adaptation](#persona-adaptation)
20- [Boundaries](#boundaries)
21
22## Quick Start
23
24### Generate UTM Parameters
25```
26Source: where traffic originates (google, facebook, newsletter)
27Medium: how it arrives (cpc, email, social, organic)
28Campaign: initiative name (spring-sale-2025, product-launch)
29
30Format: lowercase, hyphens, no spaces
31Input: "Spring Sale 2025" → Output: "spring-sale-2025"
32Input: "Q1 Launch Campaign" → Output: "q1-launch-campaign"
33
34Example: ?utm_source=linkedin&utm_medium=social&utm_campaign=q1-launch
35```
36
37### Create Email Sequence
381. Welcome (immediate): Set expectations, deliver promised value
392. Value (day 2-3): Best content or quick win
403. Engagement (day 5-7): Encourage reply or action
414. Offer (day 10): Clear CTA with incentive
42
43### Plan Content Calendar
44Essential fields: Title, Target keyword, Funnel stage (TOFU/MOFU/BOFU), Format, Owner, Publish date, Distribution channels.
45
46### Check Campaign Performance
47Primary metrics by channel:
48- Email: Open rate (43% avg), CTR (2% avg), Conversion rate
49- Social: Engagement rate, Reach, Click-through
50- Paid: ROAS, CPA, CTR
51- Content: Traffic, Time on page, Conversions
52
53## Domain Reference Guide
54
55| Need | Reference | When to Load |
56|------|-----------|--------------|
57| Plan content strategy | [content-strategy.md](references/content-strategy.md) | Topic clusters, calendars, funnel mapping, repurposing |
58| Execute social media | [social-media.md](references/social-media.md) | Platform tactics, posting times, engagement benchmarks |
59| Build email campaigns | [email-marketing.md](references/email-marketing.md) | Sequences, subject lines, segmentation, deliverability |
60| Track campaigns | [utm-tracking.md](references/utm-tracking.md) | UTM formatting, naming conventions, GA4 alignment |
61| Measure performance | [analytics-measurement.md](references/analytics-measurement.md) | KPIs, GA4 setup, attribution, ROI calculations |
62| Launch products | [gtm-tools.md](references/gtm-tools.md) | GTM frameworks, positioning, tool selection |
63| Define brand voice | [brand-guidelines.md](references/brand-guidelines.md) | Voice dimensions, tone, messaging framework, terminology |
64| Optimize for search | [seo-optimization.md](references/seo-optimization.md) | Technical SEO, on-page, content SEO, link building, E-E-A-T |
65| Optimize for AI | [geo-optimization.md](references/geo-optimization.md) | GEO, LLMO, AEO, AI Overviews, chatbot visibility |
66
67## Scripts
68
69Python utilities for campaign automation:
70
71| Script | Purpose | Usage |
72|--------|---------|-------|
73| [utm_tools.py](scripts/utm_tools.py) | UTM generation, validation, batch processing, QR codes | `python utm_tools.py generate --source facebook --medium paid-social --campaign q1-launch` |
74| [brand_checker.py](scripts/brand_checker.py) | Brand voice compliance, readability scoring, banned words | `python brand_checker.py check --file copy.txt` |
75
76### Script Quick Reference
77
78**Generate and validate UTMs:**
79```bash
80# Generate UTM parameters
81python scripts/utm_tools.py generate -s facebook -m paid-social -c spring-2025
82
83# Build complete tracking URL
84python scripts/utm_tools.py build -u https://example.com -s email -m newsletter -c q1-launch
85
86# Validate existing URL
87python scripts/utm_tools.py validate -u "https://example.com?utm_source=email&utm_medium=cpc"
88
89# Batch process from CSV
90python scripts/utm_tools.py batch -f campaigns.csv -u https://example.com -o tracking.csv
91
92# Check GA4 channel mapping
93python scripts/utm_tools.py ga4-check -s facebook -m paid-social
94```
95
96**Check brand compliance:**
97```bash
98# Full compliance check
99python scripts/brand_checker.py check --file marketing_copy.txt
100
101# Check readability score
102python scripts/brand_checker.py readability --text "Your marketing copy here"
103
104# Find banned words
105python scripts/brand_checker.py banned --file email_draft.txt
106
107# Full audit with JSON output
108python scripts/brand_checker.py full-audit --file campaign.txt --output report.json
109```
110
111## Workflow Decision Tree
112
113**What does the user need?**
114
115```
116Creating or planning content?
117├─ Yes → content-strategy.md
118│ • Topic clusters, pillar pages
119│ • Content calendars (annual/quarterly/weekly)
120│ • TOFU/MOFU/BOFU mapping
121│ • Repurposing workflows
122└─ No ↓
123
124Platform-specific social guidance?
125├─ Yes → social-media.md
126│ • Instagram, LinkedIn, TikTok, X, Facebook
127│ • Posting cadence and timing
128│ • Algorithm priorities
129│ • Engagement benchmarks
130└─ No ↓
131
132Email campaigns or sequences?
133├─ Yes → email-marketing.md
134│ • Welcome, drip, re-engagement sequences
135│ • Subject line optimization
136│ • Segmentation strategies
137│ • Deliverability requirements
138└─ No ↓
139
140UTM parameters or tracking URLs?
141├─ Yes → utm-tracking.md + scripts/utm_tools.py
142│ • Parameter formatting rules
143│ • Naming conventions
144│ • GA4 channel alignment
145│ • Dynamic parameters for ads
146│ • Batch URL generation
147└─ No ↓
148
149Analytics, metrics, or reporting?
150├─ Yes → analytics-measurement.md
151│ • KPIs by channel
152│ • GA4 configuration checklist
153│ • Attribution models
154│ • ROI formulas
155└─ No ↓
156
157Product launch or go-to-market?
158├─ Yes → gtm-tools.md
159│ • SOSTAC, RACE, AARRR frameworks
160│ • Launch campaign structure
161│ • Positioning methodology
162│ • Marketing tool selection
163└─ No ↓
164
165Brand voice, tone, or messaging?
166├─ Yes → brand-guidelines.md + scripts/brand_checker.py
167│ • Voice dimension matrix
168│ • This-but-not-that chart
169│ • Messaging framework
170│ • Terminology standards
171│ • Compliance checking
172└─ No ↓
173
174SEO or search engine optimization?
175├─ Yes → seo-optimization.md
176│ • Technical SEO (crawling, indexing, speed)
177│ • On-page SEO (titles, headers, content)
178│ • Content SEO (E-E-A-T, topic clusters)
179│ • Link building strategies
180│ • Core Web Vitals
181└─ No ↓
182
183AI visibility, GEO, or chatbot optimization?
184├─ Yes → geo-optimization.md
185│ • Generative Engine Optimization (GEO)
186│ • LLMO (Large Language Model Optimization)
187│ • AEO (Answer Engine Optimization)
188│ • ChatGPT, Perplexity, AI Overviews visibility
189│ • Content structure for AI citation
190└─ No → Clarify the specific marketing need
191```
192
193## Multi-Domain Loading Order
194
195For requests spanning multiple domains, load references in priority order:
196
197| Request Type | Primary | Secondary | Supporting |
198|--------------|---------|-----------|------------|
199| Product launch | gtm-tools.md | brand-guidelines.md, content-strategy.md | email-marketing.md, social-media.md |
200| Campaign tracking | utm-tracking.md | analytics-measurement.md | — |
201| Quarterly plan | content-strategy.md | social-media.md, email-marketing.md | analytics-measurement.md |
202| Performance optimization | analytics-measurement.md | (channel-specific) | — |
203| Brand voice | brand-guidelines.md | brand_checker.py | — |
204| Search rankings | seo-optimization.md | content-strategy.md | analytics-measurement.md |
205| AI visibility | geo-optimization.md | seo-optimization.md | content-strategy.md |
206| Full strategy | seo-optimization.md, geo-optimization.md | content-strategy.md, social-media.md | email-marketing.md, analytics-measurement.md |
207
208## Campaign Validation Checklist
209
210Before launching any campaign, verify:
211
212### Strategy
213- [ ] Target audience clearly defined
214- [ ] Campaign goals documented with baseline metrics
215- [ ] Success criteria established (KPIs + targets)
216- [ ] Timeline and milestones set
217
218### Tracking
219- [ ] UTM parameters validated (lowercase, hyphens, no spaces)
220- [ ] GA4 channel alignment confirmed
221- [ ] Conversion tracking tested
222- [ ] Attribution model selected
223
224### Content
225- [ ] Brand voice checklist completed
226- [ ] No banned words or unsubstantiated claims
227- [ ] Readability score acceptable (60+ Flesch)
228- [ ] CTA clear and actionable
229
230### Technical
231- [ ] Email sequences tested in preview
232- [ ] Links verified working
233- [ ] Mobile responsiveness checked
234- [ ] Analytics tracking confirmed
235
236## Persona Adaptation
237
238**Beginner signals:** Asks "what is," "how do I," "why should I," unfamiliar terminology, requests explanations.
239→ Provide concept context before tactics. Explain frameworks. Offer templates.
240
241**Experienced signals:** Uses correct terminology, asks for benchmarks, requests templates, mentions specific tools.
242→ Skip fundamentals. Provide benchmarks, templates, advanced tactics directly.
243
244## Boundaries
245
246**In scope:**
247- Campaign strategy and planning
248- Content calendars and topic clusters
249- Social media tactics and scheduling guidance
250- Email sequences and copy frameworks
251- UTM parameter generation and governance
252- Marketing analytics and KPI frameworks
253- Go-to-market planning and positioning
254- Marketing tool recommendations
255- Brand voice and messaging frameworks
256- Copy compliance checking
257- SEO optimization (technical, on-page, content, E-E-A-T)
258- GEO/AI visibility optimization (ChatGPT, Perplexity, AI Overviews)
259
260**Out of scope (suggest alternatives):**
261- Paid ad campaign management (bid strategies, audience targeting)
262- CRM workflow implementation
263- Website design/development
264- Brand identity design (logos, colors, visual design)
265- PR and media relations
266- General copywriting (not campaign-specific)
267
268**Clarify before proceeding:**
269- "Help with marketing" → Which domain?
270- "Improve my ads" → Creative/copy (in scope) or campaign management (out of scope)?
271- "Analytics setup" → Marketing analytics or general web analytics?
272- "Brand guidelines" → Voice/messaging (in scope) or visual identity (out of scope)?