Install
openclaw skills install affiliate-link-injectorScan content for product mentions and auto-insert affiliate links with FTC compliance disclosures. Use when the user needs to monetize blog posts, product reviews, or guides with tracked affiliate links while maintaining legal compliance.
openclaw skills install affiliate-link-injectorThe Affiliate Link Injector automates the process of scanning content for product mentions and strategically inserting tracked affiliate links with FTC-compliant disclosure notices. This skill is designed for content creators, bloggers, ecommerce marketers, and agencies who need to monetize content while maintaining legal and ethical standards.
This skill connects with:
Scan this blog post for product mentions and inject Amazon Associates
affiliate links with FTC disclosures. Use my affiliate ID:
yourname-20. Only link products that are actually available on Amazon.
[Paste your blog post content here]
Expected Output: Blog post with [Product Name](https://amazon.com/...?tag=yourname-20) links and a disclaimer like: "This post contains affiliate links. We earn a commission if you click and purchase at no additional cost to you."
I have a product review comparing 5 laptop brands. Add affiliate links
from Amazon Associates, B&H Photo, and Newegg. Insert FTC disclosure
at the top. Format: Markdown. Only inject links where I naturally
mention the product.
Review content:
[Paste your review]
Expected Output: Review with contextual affiliate links to each retailer, FTC disclosure banner, and a summary table showing which affiliate networks were used.
Scan my WordPress blog for all product mentions across 10 recent posts.
Generate a report showing:
1. Which products can be monetized (with affiliate network options)
2. Where to insert FTC disclosures
3. Recommended link anchor text for SEO
4. Compliance risk assessment
WordPress URL: https://myblog.com
API key: [your WordPress REST API key]
Expected Output: CSV report with post titles, product mentions, recommended affiliate networks, compliance notes, and a one-click approval button to auto-inject links.
Generate 5 different FTC disclosure statements for my blog that are:
1. Concise (one sentence)
2. Friendly and conversational
3. Legal-safe (covers all affiliate relationships)
4. Mobile-friendly (short version for sidebars)
5. Transparent (mentions specific networks: Amazon, ShareASale)
My blog tone: [casual/professional/humorous]
Expected Output: 5 disclosure variants with guidance on placement and legal compliance notes.
# Affiliate Network Credentials
export AFFILIATE_NETWORKS_API_KEY="your_api_key_here"
export AMAZON_ASSOCIATES_ID="yourname-20"
export SHARESALE_MERCHANT_ID="your_merchant_id"
# FTC Compliance Settings
export FTC_COMPLIANCE_MODE="strict" # strict, moderate, minimal
export DISCLOSURE_PLACEMENT="top" # top, sidebar, inline, footer
export DISCLOSURE_LANGUAGE="en-US" # en-US, en-GB, en-AU, de-DE, etc.
# Content Analysis
export LINK_DENSITY_MAX="5" # Max links per 1000 words
export MIN_PRODUCT_RELEVANCE="0.75" # 0-1 scale (1 = perfect match)
export AUTO_INJECT="false" # true = inject, false = suggest only
Get API Keys:
Set Environment Variables:
export AFFILIATE_NETWORKS_API_KEY="your_key"
export FTC_COMPLIANCE_MODE="strict"
Connect Your Platform:
Test with Sample Content:
Run: affiliate-link-injector --test --mode=suggest
Input: "I recommend the iPhone 14 Pro and iPad Air"
Output: Suggested links with compliance check
# Best Budget Laptops in 2024
*Disclosure: This post contains affiliate links. We earn a commission
if you click and purchase at no additional cost to you.*
## Budget Champion: ASUS VivoBook 15
The [ASUS VivoBook 15](https://amazon.com/s?k=ASUS+VivoBook+15&tag=yourname-20)
offers excellent value at under $500. With a Ryzen 5 processor and
16GB RAM, it handles everyday tasks effortlessly.
**Affiliate Networks Used**: Amazon Associates
**Commission Rate**: 4%
**Estimated Revenue Per Sale**: $20
AFFILIATE LINK INJECTOR REPORT
Generated: 2024-01-15
Post: "Top 10 Photography Gadgets"
Current Links: 2
Monetization Opportunities: 8 new products
Estimated Revenue Potential: $450-$800/month
Products Found:
✓ Canon EOS R6 → Amazon (10%), B&H Photo (8%)
✓ Nikon Z9 → Amazon (10%), Adorama (7%)
✓ Sony A7IV → Amazon (10%), Newegg (6%)
✓ DJI Air 3S → Amazon (5%), Best Buy (4%)
✓ Peak Design Backpack → Amazon (8%), REI (6%)
FTC Compliance Status: APPROVED
Disclosure Placement: Top of post
Risk Assessment: LOW (all links contextualized)
COMPLIANCE AUDIT TRAIL
Post ID: 42
Post Title: "Best Wireless Earbuds 2024"
Scan Date: 2024-01-15 10:30 UTC
Links Injected: 5
├─ AirPods Pro → Amazon (FTC disclosed: YES)
├─ Sony WF-1000XM5 → Amazon (FTC disclosed: YES)
├─ Jabra Elite 85t → ShareASale (FTC disclosed: YES)
├─ Bose QuietComfort → Amazon (FTC disclosed: YES)
└─ Anker Soundcore → Amazon (FTC disclosed: YES)
Disclosure Statement: Present
Disclosure Visibility: High (top of post)
Regulatory Compliance: ✓ FTC (US), ✓ ASA (UK), ✓ AANA (AU)
Risk Level: LOW
Recommended Review: None
?utm_source=blog&utm_medium=affiliate&utm_campaign=post-title❌ Will NOT inject links without compliance review
❌ Will NOT link to competitors in negative contexts
❌ Will NOT exceed ethical link density
❌ Will NOT link to prohibited categories
❌ Will NOT work without explicit user content
❌ Will NOT guarantee affiliate program approval
Cause: Product not in supported affiliate networks
Solutions:
MIN_PRODUCT_RELEVANCE setting lower (0.5-0.7)affiliate-link-injector --product="Obscure Product" --fallback=amazon
Cause: Disclosure placement setting or content format incompatibility
Solutions:
Verify DISCLOSURE_PLACEMENT is set correctly:
export DISCLOSURE_PLACEMENT="top" # or "inline", "footer", "sidebar"
Check content format supports disclosure (HTML/Markdown required):
affiliate-link-injector --format=markdown --disclosure=top
For WordPress, ensure theme supports custom HTML blocks
Cause: UTM parameters missing or affiliate network not configured
Solutions:
Verify affiliate network API key is active:
affiliate-link-injector --test-api
Enable UTM parameter generation:
export UTM_ENABLED="true"
export UTM_SOURCE="blog"
export UTM_MEDIUM="affiliate"
Check your affiliate dashboard for conversion tracking setup
Cause: Link density exceeds recommended threshold
Solutions:
Reduce LINK_DENSITY_MAX:
export LINK_DENSITY_MAX="3" # Changed from 5 to 3
Use "suggest only" mode to review before injecting:
affiliate-link-injector --mode=suggest --review=true
Manually remove lower-priority links