How to Add a "Buy on Amazon" Button in WordPress (5 Ways, 2026)
How to add a Buy on Amazon button in WordPress: the Button block, custom HTML, WooCommerce or an affiliate plugin, plus the rel and disclosure you need.

You do not need a plugin to add a Buy on Amazon button in WordPress. Add a Button block, type "Buy on Amazon", paste your Amazon Associates affiliate link, and style it in Amazon orange (#FF9900). Then add rel="sponsored nofollow" to the link in the block's Advanced settings, and place a clear affiliate disclosure nearby. For live prices and product boxes, use an affiliate plugin instead.
On this page
- TL;DR
- What you need first
- What you are building
- Method 1: the native Button block (no plugin)
- Method 2: custom HTML and CSS (full control)
- Method 3: free block plugins
- Method 4: WooCommerce external/affiliate product
- Method 5: dedicated Amazon affiliate plugins (for live prices)
- Which method should you use?
- Design tips that actually get clicks
- The compliance part you cannot skip
- Final take
- Common questions
Here is the thing most guides bury under five plugin recommendations.
You do not need a plugin to add a "Buy on Amazon" button in WordPress.
The native Button block does it. Type your text, paste your Amazon affiliate link, make it orange, done.
I run affiliate content myself, and for a single button inside a review, the built-in block is what I reach for every time.
Plugins earn their place when you want live prices or product boxes that update from Amazon on their own. That is a real need. It is just not "add a button".
So here are all the ways, from the free two-minute one to the paid tools, and the compliance bits you genuinely cannot skip.
What you need first
Two things, before any method:
- An approved Amazon Associates account. Your affiliate link only earns if it carries your tracking tag, which you get after joining the Amazon Associates program.
- Your affiliate link. Once approved, the SiteStripe bar sits at the top of every Amazon product page. Click Get Link → Text to copy your tagged URL.
One honest heads-up that trips people up: Amazon removed the Image and Text+Image link types from SiteStripe on 1 December 2023, and links built with them broke on 31 December 2023. Only the text link remains.
If an old guide tells you to "grab the image link", that option is gone. For product images you now need Amazon's Product Advertising API, which the affiliate plugins below handle for you.
What you are building
Whatever method you pick, aim for something like this. Amazon's own orange makes the button instantly familiar.

Method 1: the native Button block (no plugin)
This is the one I recommend for most people. No plugin, two minutes.
Add a Button block
In the editor, click the + and add a Buttons block. Type your label, "Buy on Amazon" or "Check Price on Amazon".
Paste your affiliate link
Select the button text, click the link icon, and paste your SiteStripe text link. It is the URL with your ?tag=youraffiliateid-20 on the end.

Style it in Amazon orange
Open the Block → Styles tab and set the background to #FF9900 with dark text. Give it some padding so it is an easy tap on mobile.
Add the rel attribute
This is the step people skip. Open the Advanced panel at the bottom of the block settings and add sponsored nofollow to the Link rel field. That marks it as a paid link the way Google asks.
Method 2: custom HTML and CSS (full control)
If you want pixel control and zero plugin weight, drop a Custom HTML block and build the Amazon link button yourself:
<a href="https://www.amazon.com/dp/PRODUCT/?tag=youraffiliateid-20"
rel="sponsored nofollow noopener"
target="_blank"
class="amazon-btn">🛒 Buy on Amazon</a>.amazon-btn{
display:inline-block; background:#ff9900; color:#0f1e3d;
font-weight:700; padding:13px 28px; border-radius:8px;
text-decoration:none;
}
.amazon-btn:hover{ background:#e88a00; }The rel is baked right in, so you cannot forget it. This is my pick when I want the exact same button across a whole site.
Method 3: free block plugins
Want more button styles than core offers, with icons, without writing CSS? Two free, well-made block libraries:
- Ultimate Blocks adds an improved Button block with icon support, good for a cart icon next to the text.
- Spectra by Brainstorm Force gives heavy button customisation and pairs naturally with the Astra theme. I have written a full Spectra review if you want the longer look.
Both are free on the official directory. Just remember the rel attribute still applies, set it in the block's link options.
Method 4: WooCommerce external/affiliate product
If you run WooCommerce, there is a built-in path. When you add a product, set its type to External/Affiliate product. Paste the Amazon URL in the Product URL field and change the button text to "Buy on Amazon".
This is the right call when Amazon items sit alongside your own products in a shop, so they all share the same layout. If you are building that shop from scratch, a good free WooCommerce theme keeps those product cards consistent.
Method 5: dedicated Amazon affiliate plugins (for live prices)
This is where plugins genuinely beat the button block. If you want live prices, star ratings, "best seller" boxes, or comparison tables that update from Amazon automatically, you need a tool that talks to Amazon's Product Advertising API:
- AAWP — the established premium option, paid yearly, with product boxes, bestseller lists and auto-updating prices.
- AmaLinks Pro — another mature paid plugin in the same space.
- Auto Amazon Links — has a free version on the official directory, a good starting point.
Prices and plans change, so check each vendor before buying.
But be honest with yourself. If you just want one button, none of these are worth the cost or the API setup. Use Method 1.
Which method should you use?
| Method | Best for | Plugin needed |
|---|---|---|
| Native Button block | One or a few buttons, most people | No |
| Custom HTML + CSS | A consistent button site-wide | No |
| Free block plugins | Extra styles and icons, no code | Free |
| WooCommerce product | Amazon items inside a WooCommerce shop | WooCommerce |
| Affiliate plugin (AAWP etc.) | Live prices, boxes, comparison tables | Paid / freemium |
Design tips that actually get clicks
A button only earns if people press it.
What works, from running these myself:
- Use Amazon orange (#FF9900). Familiarity converts. A button that looks like Amazon feels safe to click.
- Say "Check Price on Amazon" rather than "Buy now". Prices move, and "check price" sets an honest expectation, which readers trust more.
- Put it right after your verdict, not floating at the top before you have earned the click.
- Make it big enough to tap. Most affiliate traffic is mobile.
The compliance part you cannot skip
Two non-negotiables on every Amazon button.
The rel attribute. Google asks you to mark affiliate and paid links with rel="sponsored", optionally with nofollow. Unmarked affiliate links are a link-scheme risk, so set rel="sponsored nofollow" every time.
The disclosure. The FTC requires a clear, conspicuous disclosure near the recommendation, not buried in the footer. A line like "As an Amazon Associate I earn from qualifying purchases" placed close to the button does the job, and Amazon's own terms require it too.
Building a WordPress site that actually earns?
Affiliate buttons, fast load times, clean structure and the redirects that protect your rankings all have to work together. If you are building or fixing a WordPress site to monetise, I can set it up properly.
See WordPress developmentFinal take
You do not need a plugin to add a "Buy on Amazon" button. The native Button block plus your Amazon Associates link, styled in #FF9900, covers it in two minutes. Reach for a plugin like AAWP only when you want live prices and product boxes, not for a single button.
Whichever route you take, do the two things that protect you: add rel="sponsored nofollow" to the link, and put a clear affiliate disclosure next to it.
The button is the easy part. Doing it compliantly is what keeps both Google and Amazon happy.
Common questions
Do I need a plugin to add a Buy on Amazon button in WordPress?
No. The native Button block does it. Add a Button block, type your text, paste your Amazon affiliate link, and style it. A plugin only helps if you want live prices, product boxes, or comparison tables pulled from Amazon automatically.
Where do I get the Amazon affiliate link for the button?
From your Amazon Associates account. Once approved, the SiteStripe bar appears at the top of any Amazon product page, where you click Text under Get Link to copy your tagged URL. Note that the Image and Text+Image options were removed in December 2023, so only the text link remains.
What rel attribute should an Amazon affiliate button have?
Use rel="sponsored nofollow". Google asks you to mark paid and affiliate links with sponsored, and nofollow is a safe addition. In the Button block, open the Advanced panel and add it to the Link rel field, or include it in the HTML if you build the button by hand.
How do I style the button to look like Amazon?
Use Amazon's orange, #FF9900, with dark text, which is the most recognisable and tends to convert best. Keep the label short and honest, like "Buy on Amazon" or "Check Price on Amazon", and give it enough padding to be an easy tap target on mobile.
Do I have to disclose that it is an affiliate link?
Yes. The FTC requires a clear, conspicuous disclosure near the link, not hidden in the footer. A short line like "As an Amazon Associate I earn from qualifying purchases" placed close to the button covers it, and Amazon's terms require it too.
Which plugin is best for Amazon affiliate buttons?
For serious affiliates who want live prices and product boxes, AAWP and AmaLinks Pro are the established paid options, and Auto Amazon Links has a free version. For a single button, you do not need any of them, the native Button block is enough.

SEO Specialist and product builder with 10+ years in search. The notes come from the work, not the theory.