Generate UTM Parameters for Campaign Tracking
Marketing AutomationbeginnerClaude 3.5 Sonnet or GPT-4o. Both excel at structured data generation and URL formatting. Claude handles naming convention consistency slightly better; GPT-4o is faster for generating multiple variations. For this beginner task, either performs equally well.
When to Use This Prompt
Use this prompt when launching any marketing campaign across channels to ensure consistent, trackable UTM parameters. It eliminates manual URL building errors and creates a standardized tracking system that reduces operational overhead and enables accurate attribution reporting to leadership.
The Prompt
You are a marketing operations specialist helping me build a consistent UTM tracking system.
I need you to generate UTM parameters for the following campaign:
**Campaign Details:**
- Campaign Name: [e.g., "Q1 Product Launch"]
- Channel: [e.g., "email", "paid_social", "organic_social", "paid_search", "display", "affiliate"]
- Specific Platform (if applicable): [e.g., "LinkedIn", "Google Ads", "Facebook", "HubSpot"]
- Campaign Goal: [e.g., "drive webinar signups", "promote new feature", "nurture leads"]
- Target Audience Segment: [e.g., "existing customers", "prospects in tech", "enterprise buyers"]
- Landing Page URL: [e.g., "https://example.com/webinar"]
**Instructions:**
1. Generate complete UTM parameters following these naming conventions:
- utm_source: channel origin (lowercase, no spaces)
- utm_medium: channel type (lowercase, no spaces)
- utm_campaign: descriptive campaign identifier (lowercase, hyphens for spaces)
- utm_content: specific creative or variation (optional but recommended)
- utm_term: keyword or audience segment (optional, mainly for paid search)
2. Provide the complete tracking URL with all parameters appended
3. Create 2-3 variations if A/B testing different creatives or audience segments
4. Explain the logic behind each parameter choice
5. Include a note on how to track these in Google Analytics 4 (GA4) or your analytics platform
**Naming Rules to Follow:**
- Use lowercase only
- Replace spaces with hyphens
- Keep values concise (under 50 characters)
- Avoid special characters except hyphens
- Be consistent across all campaigns in this channel
Provide the output in a clear, copy-paste-ready format.
Get the Full AI Marketing Learning Path
Courses, workshops, frameworks, daily intelligence, and 6 proprietary tools — built for marketing leaders adopting AI.
Trusted by 10,000+ Directors and CMOs.
Tips for Best Results
- 1.Create a master UTM naming convention document and share it with your team before running campaigns. Consistency across campaigns is what makes historical data comparable and ROI measurable.
- 2.Use utm_content to differentiate creative variations (headline A vs B, image 1 vs 2) so you can measure which assets drive conversions, not just which channels.
- 3.Test your UTM URLs before launch by clicking them and verifying parameters appear correctly in GA4 real-time reports. Typos in UTM values create separate data buckets and break attribution.
- 4.Automate UTM generation in a spreadsheet or tool like Terminus or Marketo to reduce manual errors. Feed the AI output into a template so your team generates URLs consistently across campaigns.
Example Output
**Campaign: Q1 Product Launch - Email to Existing Customers**
**Primary Tracking URL:**
https://example.com/webinar?utm_source=email&utm_medium=newsletter&utm_campaign=q1-product-launch&utm_content=existing-customers&utm_term=webinar-signup
**UTM Parameter Breakdown:**
- utm_source=email (where the traffic originates)
- utm_medium=newsletter (type of email communication)
- utm_campaign=q1-product-launch (the overarching campaign)
- utm_content=existing-customers (audience segment)
- utm_term=webinar-signup (specific goal)
**A/B Test Variation:**
https://example.com/webinar?utm_source=email&utm_medium=newsletter&utm_campaign=q1-product-launch&utm_content=high-engagement-segment&utm_term=webinar-signup
**GA4 Tracking Setup:**
In GA4, these parameters will populate automatically. Create a custom report filtered by utm_campaign="q1-product-launch" to see all traffic sources. Set up a conversion event for "webinar_signup" to measure campaign effectiveness.
**Consistency Note:**
Use "email" as utm_source for all email campaigns, "newsletter" as utm_medium for broadcast sends, and "q1-product-launch" as utm_campaign across all channels promoting this initiative.
Related Prompts
Related Reading
Get the Full AI Marketing Learning Path
Courses, workshops, frameworks, daily intelligence, and 6 proprietary tools — built for marketing leaders adopting AI.
Trusted by 10,000+ Directors and CMOs.
