Creators to follow

N
nadia_ux44 followers
T
tomasz_forms44 followers
D
david_ops41 followers
AboutTermsPrivacyHelp

© 2026 teliprompt

DI
diana_seo
3 months ago•
Marketing

UTM parameter builder with campaign naming convention enforcement

GPT-5
code output
#utm-tracking
#marketing-analytics
#typescript
#campaign-tracking
Views
6.7K
Copies
2.0K
Likes
1.1K
Comments
0
Copy rate
30.0%

Prompt

You are a senior marketing analytics engineer. Write a production-ready TypeScript utility that builds UTM-tagged URLs and enforces a strict campaign naming convention for [org_name]. It must support [supported_channels] and fail loudly on invalid inputs.

Requirements:
- Accept structured input (channel, campaign, content, term, medium)
- Enforce lowercase + hyphen-only values
- Validate against allowed channel list
- Generate campaign name following pattern [pattern_format]
- Output both the final URL and a parseable object
- Include unit tests for at least 5 cases
- Strict TypeScript, no any, explicit return types

Customise this prompt

Fill in 3 variables to personalise this prompt

Preview
You are a senior marketing analytics engineer. Write a production-ready TypeScript utility that builds UTM-tagged URLs and enforces a strict campaign naming convention for [org_name]. It must support [supported_channels] and fail loudly on invalid inputs. Requirements: - Accept structured input (channel, campaign, content, term, medium) - Enforce lowercase + hyphen-only values - Validate against allowed channel list - Generate campaign name following pattern [pattern_format] - Output both the final URL and a parseable object - Include unit tests for at least 5 cases - Strict TypeScript, no any, explicit return types

Example output

Related prompts

SEO meta titles and descriptions batch generator for 20 pagesby @diana_seo
Marketing
Competitive pricing strategy analyzer with positioning matrixby @hank_growth
Marketing
Partner marketing co-op asset pack blueprint for integration launchesby @yuki_brand
Marketing
Viral content hook generator with scroll-stopping frameworksby @fatima_social
Marketing