affitor/conversion-tracker
> "set up tracking", "create UTM links", "track my affiliate links", "tracking pixels", "click attribution", "organize my links", "UTM parameters", "tag my links", "campaign tracking", "link tracking setup", "prepare for launch", "debug attribution", "tracking spreadsheet".
npx skills add https://github.com/Affitor/affiliate-skills --skill conversion-tracker
Set up affiliate conversion tracking — generate UTM-tagged links, create link naming conventions, configure tracking pixel setup instructions, and build a tracking spreadsheet. Output is a Markdown tracking guide with a table of tagged links ready to deploy.
S6: Analytics — The difference between amateur and professional affiliates. You can't optimize what you don't measure. After deploying content (S5), you need UTM-tagged links for every platform and content piece to know exactly which channel drives conversions.
product:
name: string # REQUIRED — product name (e.g., "HeyGen")
affiliate_url: string # REQUIRED — base affiliate link
platforms: # OPTIONAL — where content will be published
- string # e.g., ["linkedin", "twitter", "blog", "email", "reddit"]
# Default: ["blog", "twitter", "linkedin"]
campaign_name: string # OPTIONAL — campaign identifier (e.g., "q1-2026-ai-tools")
# Default: auto-generated from product name + date
tracking_tool: string # OPTIONAL — "google_analytics" | "voluum" | "clickmagick"
# | "manual_utm". Default: "manual_utm"
content_types: # OPTIONAL — types of content being created
- string # e.g., ["blog_review", "social_post", "email", "landing_page"]
Chaining context: If S1 was run, pull recommended_program.affiliate_url and recommended_program.name. If S2-S5 outputs exist, use them to determine platforms and content types automatically.
Collect product name, affiliate URL, and target platforms. If not provided, default to blog + twitter + linkedin (the three most common affiliate channels).
For each platform × content-type combination, create a UTM-tagged URL:
utm_source: platform name (e.g., linkedin, twitter, blog)utm_medium: content type (e.g., social, article, email)utm_campaign: campaign name (e.g., heygen-q1-2026)utm_content: specific content identifier (e.g., review-post, cta-button, bio-link)Append UTM parameters to the affiliate URL. Handle URLs that already have query parameters (use & not ?).
Establish a consistent naming scheme:
{product}-{platform}-{content_type}-{variant}
Example: heygen-linkedin-review-v1
Based on tracking_tool:
Present all links in a structured table with:
Before presenting output, verify:
If any check fails, fix the output before delivering. Do not flag the checklist to the user — just ensure the output passes.
output_schema_version: "1.0.0" # Semver — bump major on breaking changes
tracking:
product: string
campaign: string
total_links: number
links:
- name: string # e.g., "heygen-linkedin-review-v1"
platform: string
content_type: string
url: string # full UTM-tagged URL
utm_source: string
utm_medium: string
utm_campaign: string
utm_content: string
naming_convention:
pattern: string # e.g., "{product}-{platform}-{type}-{variant}"
examples: string[]
setup_guide:
tool: string
steps: string[]
[YOUR_AFFILIATE_LINK] with your actual affiliate URL when you have it."User: "Set up tracking for my HeyGen affiliate link (heygen.com/ref/abc123) on my blog and Twitter"
Action: Generate 4 links: blog-review, blog-comparison, twitter-post, twitter-thread. Each with proper UTM tags. Include Google Sheets tracking template.
User: "I'm launching a campaign for Semrush across LinkedIn, Twitter, Reddit, my blog, and email newsletter. Create all my tracking links."
Action: Generate 10+ links across all platforms and content types. Establish naming convention. Suggest Google Analytics goal setup for conversion tracking.
Context: S1 found HeyGen with affiliate URL heygen.com/ref/abc123.
User: "Set up tracking for this before I start creating content."
Action: Pull product info from S1 output. Generate links for the user's likely content types (infer from S1 context). Prepare tracking sheet that S6.3 (performance-report) can use later.
references/tracking-templates.md — Google Sheets template, UTM parameter reference, platform-specific tracking notes, S6 feedback loopshared/references/affiliate-glossary.md — Definitions for tracking terms (EPC, CTR, conversion). Referenced in setup guide.shared/references/flywheel-connections.md — master flywheel connection mapaffiliate-program-search (S1) — top converting niches → search for more programs in winning nichesperformance-report (S6) — conversion data for reportsab-test-generator (S6) — conversion baselines for test evaluationbio-link-deployer (S5) — deployed link URLs to trackemail-drip-sequence (S5) — email links to tracklanding-page-creator (S4) — landing page conversions to trackgithub-pages-deployer (S5) — deployed site to trackchain_metadata:
skill_slug: "conversion-tracker"
stage: "analytics"
timestamp: string
suggested_next:
- "performance-report"
- "ab-test-generator"
- "affiliate-program-search"
Take affitor/conversion-tracker from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.