Amazon.com offers a way for site owners to help monetize their sites in the form of Amazon Affiliate links. Placing these links on your site gives your visitors a chance to buy products you review or recommend, and you earn a percentage of each sale.
💡
Affiliate links are allowed on WordPress.com as long as the primary purpose of your blog is to create original content. We do not allow sites that exist primarily to drive traffic to affiliate links. Affiliate links should be related to your site’s content in some way.
If you haven’t already, head to Amazon.com Associates Central to sign up for an Amazon Associates account. If you already have an Amazon.com account, you can sign up with that and save yourself a little time.
In this guide
While logged into the Amazon account you set up for your affiliate program, visit the Amazon.com homepage. At the top, you should see the “Amazon Associates SiteStripe” banner.
Search for a product, and on the product’s landing page, you’ll see the SiteStripe “Get Link:” options for Text, Image, and Text+Image. Choose the option you want to display on your site. In the example below, we’ve clicked the “Image

💡
The “Text+Image” option uses
<iframe>
code, which requires the WordPress.com Business plan or higher. Learn more about code restrictions.All WordPress.com sites, regardless of plan, can use the Text or the Image option.
There are limited design options for each Affiliate Link type.
- Text: select between a short link or the full link
- Image: select the image size, small, medium, or large
- Text+Image: choose if you want to open the link in a new tab, and show a border
💡
You will need a plugin-enabled plan, if you want to be able to use the Text+Image option.
Text Only links are exactly what they sound like — they are a text linked to the product with your affiliate code added in. (They also include some text for the link itself, which you are able to edit.) These are best for somewhere you don’t need or want an image, such as in the middle of text, like this.
Image Only links are similar — They only contain Amazon.com’s product image, but they let you add your own text. These are good for Text Widgets, adding images of a product to your post, or anywhere you’d like to show the product as well as describe it.
Each link type will be useful in a variety of situations, so choose the one you think will work best for what you want to do.
A Text Link is a good option if you want to link to a product in your navigation menu, or on a button on your site. Anywhere you can add a link, you can link to the Amazon Affiliate Text Link.
The Image Link will automatically create an image of the product with a hyperlink built into it. You can add the code Amazon provides you with to an HTML block on any page or post.
This section of the guide applies to sites with the WordPress.com Business or Commerce plan. If your site has one of our legacy plans, this feature is available on the Pro plan.
The Text+Image Link provides you with both an image of the product, as well as the products title, price, and a shop now button.
Because the Text+Image Link uses an <iframe>
, your site will need to be on a plugin-enabled plan. Learn more about code limitations here.
Once you have your code, you’ll want to open up the post, page, or widget where you’d like the link added.
If you’re using the Block Editor to edit posts and pages, you’ll want to add a Group block. Then within that block, add an HTML block and add the HTML code like this:

If you’re adding an Image Only link, it’s worth adding a paragraph block below this block and add your text there. After you’re done, click Publish or Update and…

Congratulations! You’ve got an Amazon Affiliate link!
If you’re using the Classic Editor to edit posts and pages, you’ll want to click on the HTML tab, like this:

Once you’re on the HTML tab, paste (Control + V on Windows/Linux, Command + V on macOS) the code where you’d like the link to appear.
If you want to add a link to your site’s navigation menu that sends visitors to an Amazon product, you will want to choose the Text link option when you’re in the SiteStripe on Amazon.
Copy the text link, and follow our steps for adding links to your navigation menu here.