Agent skill

conversion-tracker

Set up affiliate conversion tracking with UTM parameters and link tagging. Triggers on: "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".

Stars 308
Forks 130

Install this agent skill to your Project

npx add-skill https://github.com/Affitor/affiliate-skills/tree/main/skills/analytics/conversion-tracker

Metadata

Additional technical details for this skill

stage
S6-Analytics
author
affitor
version
1.0

SKILL.md

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.

Stage

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.

When to Use

  • User is about to launch a campaign and needs tracking links
  • User wants UTM-tagged links for different platforms
  • User says "set up tracking", "create UTM links", "organize my affiliate links"
  • User wants to track which content drives the most clicks and conversions
  • User is preparing to run ads and needs consistent link tagging
  • Chaining from S1 (product selected) → generate tracking links before creating content in S2-S5

Input Schema

yaml
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.

Workflow

Step 1: Gather Product and Platform Info

Collect product name, affiliate URL, and target platforms. If not provided, default to blog + twitter + linkedin (the three most common affiliate channels).

Step 2: Generate UTM-Tagged Links

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 ?).

Step 3: Create Link Naming Convention

Establish a consistent naming scheme:

{product}-{platform}-{content_type}-{variant}

Example: heygen-linkedin-review-v1

Step 4: Build Tracking Setup Guide

Based on tracking_tool:

  • Google Analytics: Event tracking setup, goal configuration, UTM report location
  • Voluum / ClickMagick: Postback URL setup, conversion pixel placement
  • Manual UTM: Google Sheets tracking template with columns for link, platform, clicks, conversions

Step 5: Output Tracking Sheet

Present all links in a structured table with:

  • Link name
  • Platform
  • Content type
  • Full tagged URL
  • Notes

Step 6: Self-Validation

Before presenting output, verify:

  • UTM parameters correctly appended to all affiliate URLs
  • No URL encoding errors in generated links
  • Naming convention is consistent across all links
  • All links are under URL length limits
  • Setup guide steps match the recommended tracking tool

If any check fails, fix the output before delivering. Do not flag the checklist to the user — just ensure the output passes.

Output Schema

yaml
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[]

Output Format

  1. Tracking Links Table — Markdown table with all tagged links
  2. Naming Convention — pattern + examples for consistency
  3. Setup Guide — step-by-step instructions for the chosen tracking tool
  4. Next Steps — what to do with these links (plug into S2-S5 content)

Error Handling

  • No affiliate URL provided: "I'll create the UTM structure and naming convention now. Replace [YOUR_AFFILIATE_LINK] with your actual affiliate URL when you have it."
  • URL already has UTM parameters: "Your affiliate URL already has UTM parameters. I'll append additional tracking parameters without overwriting the existing ones."
  • Too many platform × content combinations (>20): "That's a lot of links. I'll generate the most important ones (one per platform) and provide the naming convention so you can create the rest."

Examples

Example 1: Simple blog + social setup

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.

Example 2: Multi-platform campaign

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.

Example 3: Chained from S1

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

  • references/tracking-templates.md — Google Sheets template, UTM parameter reference, platform-specific tracking notes, S6 feedback loop
  • shared/references/affiliate-glossary.md — Definitions for tracking terms (EPC, CTR, conversion). Referenced in setup guide.
  • shared/references/flywheel-connections.md — master flywheel connection map

Flywheel Connections

Feeds Into

  • affiliate-program-search (S1) — top converting niches → search for more programs in winning niches
  • performance-report (S6) — conversion data for reports
  • ab-test-generator (S6) — conversion baselines for test evaluation

Fed By

  • bio-link-deployer (S5) — deployed link URLs to track
  • email-drip-sequence (S5) — email links to track
  • landing-page-creator (S4) — landing page conversions to track
  • github-pages-deployer (S5) — deployed site to track

Feedback Loop

  • Conversion data feeds back to S1 Research (which programs convert best) and S4 Landing (which page elements convert) — closing the flywheel loop
yaml
chain_metadata:
  skill_slug: "conversion-tracker"
  stage: "analytics"
  timestamp: string
  suggested_next:
    - "performance-report"
    - "ab-test-generator"
    - "affiliate-program-search"

Expand your agent's capabilities with these related and highly-rated skills.

Affitor/affiliate-skills

your-skill-name

Replace with when the AI should activate this skill. Be pushy — cover multiple phrasings so the AI activates for a wide range of user prompts.

308 130
Explore
Affitor/affiliate-skills

keyword-cluster-architect

Map 50-200+ keywords into topical clusters for SEO domination. Build content roadmaps for topical authority. Triggers on: "keyword research", "keyword clustering", "topical authority", "keyword map", "keyword strategy", "content roadmap for SEO", "keyword grouping", "topic clusters", "SEO keyword plan", "map my keywords", "keyword cluster", "hub and spoke content", "build topical authority", "SEO content plan", "keyword universe".

308 130
Explore
Affitor/affiliate-skills

listicle-generator

Write "Top N best..." listicle articles for affiliate marketing with mini-reviews, pricing, pros/cons, and CTAs per entry. Triggers on: "write a best of list", "top 10 [category] tools", "best [product category] article", "roundup post", "listicle about [category]", "write a top tools article", "best [N] alternatives to [product]", "product roundup", "write a tools comparison list", "best software for [use case]", "top picks for [category]".

308 130
Explore
Affitor/affiliate-skills

affiliate-blog-builder

Write SEO-optimized affiliate blog articles, product reviews, comparison posts, listicles, and how-to guides. Triggers on: "write a blog post about", "review of [product]", "best [category] article", "comparison blog", "affiliate blog", "SEO article", "write a review", "product roundup", "blog content for affiliate", "how to use [product] blog post", "listicle about [category]", "[product] vs [product] blog", "content for my affiliate site".

308 130
Explore
Affitor/affiliate-skills

how-to-tutorial-writer

Write how-to guides and tutorials that naturally integrate affiliate product recommendations. Triggers on: "write a how-to guide", "tutorial for [task]", "step by step guide to [goal]", "how to [verb] with [product]", "write a tutorial blog post", "guide on how to [task]", "beginner guide to [topic]", "walkthrough for [product]", "write an educational article", "how do I [task] blog post", "write a tutorial that promotes [product]".

308 130
Explore
Affitor/affiliate-skills

comparison-post-writer

Write "X vs Y" comparison blog posts that help readers choose between two competing products. Triggers on: "write a comparison post", "X vs Y blog post", "compare [product A] and [product B]", "which is better [A] or [B]", "head to head comparison", "[product] vs [product] article", "comparison review", "write a versus article", "side by side comparison blog", "which should I choose [A] or [B]", "compare these two products for my blog".

308 130
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results