Back to Blog
Marketing 2026-04-25 · 10 min read

The Amazon Affiliate WordPress Toolkit I Built (After PA-API Got Killed)

Five modules for Amazon Associates on WordPress: keyword linking, product blocks, FTC disclosure, auto-tagging, link health — plus a path past PA-API.

Amazon's Product Advertising API — the data feed that every serious affiliate plugin has used for 15 years to pull live prices, stock status, and product images — sunsets on April 30, 2026. When that switch flips, half the WordPress affiliate ecosystem stops working. Display tables freeze on stale prices. "In stock" badges keep saying "in stock" for products that have been discontinued for months. Plugins that you paid $99/year for go silent.

I run several Amazon-monetized sites — Acuario Pets and a few others — and I've spent the last four months rebuilding my affiliate stack to survive that deadline. The result is a plugin called Affiliate Buffet. It bundles five free modules that solve the day-to-day pain of running an Amazon affiliate site, plus a Pro tier that integrates Amazon's Creators API — the official replacement for PA-API.

This post walks through each module, what it actually does on a real site, and why I built every piece of it instead of buying something off the shelf.

Why I Stopped Using Off-the-Shelf Affiliate Plugins

Before I built anything, I tested the obvious players: AAWP, AmaLinks Pro, Lasso, Affiliatable. Each one is competent at one or two things and weak at the rest. AAWP makes great comparison tables but locks core features behind a $149/year tier. Lasso is gorgeous but its analytics are bolted on. None of them auto-inject FTC disclosures. None of them scan your existing content for untagged Amazon URLs. Most of them rely entirely on PA-API, which means they're all about to break at once.

The deeper problem is that Amazon-affiliate work is five separate jobs — tagging, displaying, disclosing, linking, monitoring — and most plugins try to be the whole stack with their own opinionated UI. I wanted something modular: each job is a module, you turn on the ones you need, the rest stays out of the way.

That's the design constraint Affiliate Buffet is built around. Five modules. Each does one thing. They share a central tag manager so your affiliate IDs live in exactly one place.

Module 1: Keyword Linker

What it solves: You write a 2,000-word turtle care guide. You mention "uvb bulb" eight times across the article. None of those mentions are linked to a product. You either spend ten minutes manually inserting affiliate links, or you forget and leave money on the table.

Keyword Linker reads every published post on render and looks for keywords you've configured. The first time the keyword appears in a post, it gets wrapped in a tagged Amazon link. Subsequent occurrences are skipped so you don't end up with the same anchor text repeating ten times. It auto-handles plurals (configure "uvb bulb" and it also catches "uvb bulbs"), and it skips headings, code blocks, and existing links so you don't get nested anchors.

On the free tier you get five keyword rules, which is enough to cover your top revenue products on a single niche site. Pro removes the cap, which matters if you're managing keyword sets across a category — say, twelve different bulb wattages on the same site.

Module 2: Amazon Product Block (Gutenberg)

What it solves: You want a clean product card in the middle of an article — image, title, price, "Check Price on Amazon" button — without copy-pasting markup or installing a page builder.

The Product Block is a native Gutenberg block. You paste any Amazon URL, and the block fetches the product image and title via Open Graph scraping, applies your affiliate tag at render time (so your tag never gets baked into post content — change your tag and every block updates), and gives you three layout options: card, compact, or horizontal. You can override the title, write a custom description, swap in a different image from your media library, and customize the CTA text.

The OG-scrape approach is the deliberate trade-off for free users. It's not as rich as PA-API data — you don't get live price or stock — but it's reliable, it's free, and Amazon's CDN serves the images so you're not ballooning your media library with thousands of product photos. When you upgrade to Pro and connect the Creators API, the block automatically starts pulling live price + stock + brand + feature bullets and refreshing them daily.

Module 3: Auto-Tagger

What it solves: You acquired a site, or you accepted guest posts for two years, or you used to tag links manually and your old tag was different from your current one. There are hundreds of Amazon URLs scattered across your site, and an unknown number of them are either untagged or tagged with someone else's affiliate ID.

Auto-Tagger scans every Amazon link on every render and rewrites the URL to use your tag. It detects the marketplace from the hostname (`amazon.com`, `amazon.co.uk`, `amazon.de` — ten marketplaces total), pulls the right tag for that marketplace from your settings, and rewrites the link transparently. There's a global toggle to either preserve existing tags (additive) or override them (destructive but usually correct — most affiliates want their tag on every link, period).

The piece that took me longest to get right was HTML entity decoding. Many WordPress plugins write Amazon URLs into post HTML with `&` instead of `&`, which breaks naive query-string parsing. The shared Tag Manager decodes entities before parsing the URL, applies the tag, then re-encodes — so it works on content from any source.

I tested this on Acuario Pets and the Auto-Tagger fixed 47 untagged Amazon links from a guest author who'd been writing for me for eight months. That's eight months of clicks I wasn't getting credit for, fixed in one render cycle.

Module 4: FTC Disclosure

What it solves: The FTC requires "clear and conspicuous" disclosure of affiliate relationships, before the affiliate link, on every page that contains one. Most sites bury a generic disclosure in the footer or About page, which doesn't meet the bar. Most plugins either don't disclose at all or make you copy-paste a shortcode into every post.

The Disclosure module auto-injects a compliance notice on any post that contains an Amazon link — and only on those posts. You configure the disclosure text once, choose where it appears (before the first affiliate link, at the top of the post, or at the bottom), filter by post type if you want it on posts but not pages, and forget about it. Adding a new article doesn't require remembering to add a disclosure shortcode. Removing affiliate links from an old post automatically removes the disclosure.

I wrote a separate post on FTC affiliate disclosure rules and how to automate them if you want the full breakdown of what the FTC actually requires versus the watered-down advice you find on most affiliate marketing blogs.

Module 5: Link Health Checker

What it solves: Amazon products get discontinued constantly. Your affiliate tag might silently drop off URLs after a CDN migration or a content cleanup. You don't find out until a reader emails you about a 404, or worse, you just lose the commission for months.

Link Health Checker inventories every Amazon link on your site, dedupes by ASIN, and runs throttled HEAD requests to verify each link is still alive and still has your tag attached. Results are grouped by post (so you can fix all problems on one article at once) or by ASIN (so you can quickly identify a discontinued product across multiple posts).

The throttle is intentional — 4 seconds between requests so Amazon's anti-bot systems don't flag your IP. The free tier scans 100 links per run, which is enough for a small niche site. Pro removes that cap and adds out-of-stock detection via the Creators API integration, which goes beyond just verifying the URL works to actually checking whether the product is currently buyable.

This module overlaps slightly with the broader content audit work I describe in my complete WordPress content audit guide. The audit guide and ScanMyPosts cover all outbound links generically; the Link Health Checker is a more targeted tool specifically for the Amazon-affiliate subset.

Click Analytics: The Sixth Module Hiding in Plain Sight

Affiliate Buffet ships with a click analytics dashboard built into the free plugin. I almost gated it behind Pro but decided affiliate sites can't make rational decisions without click data, and it would feel wrong to charge for it.

Every Amazon link on your site fires a `sendBeacon` ping when a visitor clicks it. The ping records the post ID, the ASIN, the source module that placed the link (so you know whether your conversions are coming from Keyword Linker auto-injections or hand-placed Product Blocks), the CTA text, the visitor's country (via Cloudflare's CF-IPCountry header — no IP storage, no cookies), and the timestamp. The dashboard rolls these up into top posts, top ASINs, top CTAs, and top countries.

It's GDPR-friendly out of the box because nothing personally identifying gets stored. And `sendBeacon` is reliable — it queues the ping at the browser level and fires it even if the click navigates away before the script can complete, which is exactly the failure mode that breaks Google Analytics outbound-link tracking. I went deeper on this in tracking Amazon affiliate clicks without Google Analytics.

The Pro Tier: Creators API and What's Coming After PA-API

The Pro tier of Affiliate Buffet exists for one reason: Amazon kills PA-API on April 30, 2026. Every plugin that depends on it for live price and stock data needs a successor, and Amazon's official answer is the Creators API.

The catch is that Creators API has an eligibility gate — you need 10 qualified Amazon Associates referral sales in the previous 30 days to get access. That's a meaningful but achievable bar for any site doing real affiliate work. If you're below that bar, you stay on the free tier with OG-scrape (which never depended on PA-API in the first place), and your Product Blocks keep working — they just won't show live price or stock.

When you do qualify and enable Creators API in Pro, three things happen automatically:

  • Product Block enrichment — every block starts pulling live price, stock status, brand name, and feature bullets, refreshed by a daily cron.
  • Out-of-stock detection in Link Health Checker — beyond just verifying the URL responds, it now flags products that are currently unbuyable so you can swap them out.
  • API stability — Creators API is OAuth-stable. Amazon changes their product page HTML annually, which breaks OG scraping; Creators API doesn't break when the front-end changes.

I covered the full PA-API → Creators API migration in a separate post, including what happens if you don't qualify, the OAuth flow, and what specifically breaks in popular plugins on April 30.

How the Modules Compose on a Real Site

On Acuario Pets, here's how all five modules + analytics work together on a typical product roundup post:

  • I write the article and drop three Product Blocks in the body for my top-three picks. Each block fetches the OG image and title from Amazon and applies my US tag at render.
  • I configure Keyword Linker with the category-level keywords ("uvb bulb", "basking lamp"). Anywhere those terms appear in the body text, the first occurrence becomes a tagged link automatically.
  • The Auto-Tagger silently catches any other Amazon URL I or a guest author embeds — making sure my tag is always the one being credited.
  • The FTC Disclosure module sees that the post contains affiliate links and injects the disclosure text right above the first one, exactly where the FTC wants it.
  • Click Analytics records every outbound click with full attribution. A week later I check the dashboard and see that Product Block #2 outperforms #1 and #3 by 4×, so I move it to the top of the list.
  • Once a month I run Link Health Checker across the full site and discover three products got discontinued — I swap them out before any reader hits a 404.

None of this is glamorous. But the difference between a $400/month affiliate site and a $4,000/month one is whether all of this plumbing actually works, every day, on every post, without you remembering to babysit it.

What This Replaces in Your Stack

If you're using a typical Amazon-affiliate WordPress stack, Affiliate Buffet replaces a few separate plugins:

  • Pretty Links / ThirstyAffiliates for tag insertion (the Auto-Tagger handles this without needing custom shortlink slugs)
  • Generic FTC disclosure plugins (the Disclosure module is targeted to posts with affiliate links, not a blanket footer notice)
  • AAWP / AmaLinks Pro / Lasso for product display (Product Block covers the 80% case; the Pro tier covers the 100% case once Creators API is enabled)
  • Manual link auditing in spreadsheets (Link Health Checker)

I don't claim Affiliate Buffet beats every one of these on every feature — AAWP's comparison tables are still nicer than what Product Block does. But for the full stack at one price, with one shared tag config, and with a working answer for the PA-API sunset already built in, it's a meaningful consolidation.

How to Get It

The free version is on the Affiliate Buffet plugin page. It includes all five modules, the Click Analytics dashboard, and per-marketplace tag management for ten Amazon marketplaces. Pro is $29/year, single site, and unlocks the Creators API integration plus the limit removals across the modules.

If you want to see how Affiliate Buffet fits into the broader toolkit I've built, the WordPress plugins I built to run 12 content sites post covers the four-plugin lineup. And if PA-API is the immediate concern, the migration post is the most important place to start — April 30 isn't far off.