How to Add Amazon Affiliate Link to WordPress: 2 Effective Methods

Amazon Associates program is an excellent side hustle for making extra money online. By featuring products on your blog or website, you receive commissions from purchases made from the affiliate links.

Adding affiliate links to your WordPress site lets you track their performance and use visual elements to promote products in a more compelling way. You can do so manually using code or directly via the admin dashboard using a WordPress plugin.

This article will explain how to add Amazon affiliate links to WordPress using two methods. Since they have different difficulty levels and advantages, choose one based on your preferences and skill level.

Here are the two methods for adding sponsored links when building your Amazon Affiliate website. Before proceeding, ensure you have obtained the tracking, access, and API keys from the Amazon Associates Dashboard to connect your account.

There are various WordPress plugins for Amazon Affiliates available with different functionalities and prices. They offer various tools that help improve your marketing efforts, like a built-in performance tracker and link cloaking. Since most options are paid, we recommend using the freemium option first and upgrading to the premium plan if needed.

For this tutorial, we will use Auto Amazon Links since it is simple to use and offers a free version. After downloading and installing the plugin, follow these steps:

  1. On your WordPress admin dashboard, navigate to the sidebar → Auto Amazon LinksSettings.
  2. Under the Associates tab, enter your Amazon Affiliate API token, access key, and account locale. Click Check API to verify if the credentials are valid and select Submit once finished.
Auto Amazon Links API settings
  1. Add the sponsored product by creating a unit. This is a set of rules defining how the Amazon link displays on your WordPress site. The plugin offers different ways to do so, but we’ll select Add Unit by Category.
  2. Enter the required information, like the unit name and country, and sort order. You’ll also need to choose the category, including new or best-selling products. Click Proceed to confirm.
Auto Amazon Links unit creation page
  1. Navigate to the sidebar, select the product categories to add from Amazon, and click Add Category to include it. Hit Create to finish.
  2. Now, add the unit to your post to display sponsored products. To do so, go to the sidebar → Auto Amazon LinksManage Units.
  3. Look for the unit you want to show from the list. Copy the shortcode from the rightmost row.
  4. Edit the WordPress blog post you want to modify. Click the + icon to add a new Shortcode block.
  5. Paste the code and click Update.

Once you visit your WordPress post, you should see the Amazon products with their images and descriptions.

Note that another WordPress plugin might have more configuration options and different setup processes. For example, Amazon Affiliate WordPress Plugin (AAWP) provides various templates to display sponsored products in a more visually appealing design.

Meanwhile, use MonsterInsights if you want to track and monitor your Amazon Affiliate earnings and link performance by integrating Google Analytics.

How to Add Amazon Affiliate Links Manually

If you don’t want to install plugins, add affiliate links to WordPress manually. However, this method is more complicated since you must select products via the Amazon Associates page, copy the HTML code, and paste it into your post.

Selecting Products and Retrieving Their URLs

To start, open the Amazon Associates page and log in to your affiliate account’s dashboard. On the top menu, navigate to PromotionsAmazon Bounty Program.

Go to the top menu again, expand the Product Linking drop-down menu, and select Product Links. You will be redirected to a new page where you can search for items to feature on your website. Select the Link to Search Results tab and enter the item information. Click Get HTML, and the link for embedding Amazon products will appear in the right window. Copy the HTML code and save it in a safe location.

Affiliate link generator in the Amazon Associates dashboard

To generate Amazon affiliate links, you can also use the built-in SiteStripe. To do so, navigate to a product page in the Amazon Marketplace and click Get Link on the top toolbar.

Configure the ID and choose between short or full link options. Click the Get Link button, and SiteStripe will copy the URL to your clipboard.

Amazon Site Strip interface

Older SiteStripe versions offer the following product link display settings. However, these might be unavailable for new users:

  • Text only – generate an anchor text that directly leads to the product page when clicked.
  • Image only – create a product image link that redirects users to the item page’s URL.
  • Image and text – show the product title, image, and a call-to-action button that leads to the marketplace page.

Each display option is suitable for a different use case. For example, adding affiliate products as text links suits written-only content. Meanwhile, product images are ideal as a visual aid to make your WordPress posts more compelling.

Adding Amazon Affiliate Links to WordPress

After obtaining the Amazon Associates link, add it to your WordPress posts or pages. The steps differ slightly different depending on your chosen product URL type. For the entire link, follow these steps:

  1. Open your WordPress dashboard and edit the post you want to modify.
  2. Click the + icon and select the Custom HTML block.
  3. Paste the code from the Amazon Associates dashboard into the HTML tab.
  4. Select Preview on the block toolbar to see if the product displays properly. If so, click Update to apply the changes.

Now, the sponsored product should display on your WordPress content and redirect you to the Amazon page when clicked.

If you choose to add short affiliate links, insert the URL like creating a hyperlink. To do so, highlight the phrase you want to use as the anchor and click the link icon, or press Ctrl + L. Paste the HTML code into the field and click the Enter icon.

To improve user experience and search engine optimization (SEO), ensure the text link describes the attached product in detail. For example, use one-liter metal water bottle instead of water bottle.

We recommend reading our affiliate marketing tips article to learn more about Amazon Associates program best practices to help boost revenue.


The Amazon Affiliate program lets you make extra income by featuring sponsored product links on your online content. There are different ways to do so on a WordPress website, depending on the difficulty levels and tool requirements.

The easiest method is using a plugin. After installing it, open the WordPress admin dashboard and enter associate account credentials such as the secret key. Then, set up the listings on the plugin panel and use shortcodes to insert the links.

If you prefer not to use a plugin, open the Amazon Associates dashboard and look for the products you want to add. Generate a URL and use a custom HTML block to insert the links to your WordPress post.

How to Add Amazon Affiliate Link to WordPress FAQ

In this section, we will answer several questions about adding Amazon affiliate links to WordPress posts.

How Do I Sign up for an Amazon Affiliate Account?

To join Amazon Affiliate, open the Amazon Associates page and click the Sign up button. Enter details like your password and email address. Then, add your website URL, store ID, monetization method, payment information, and tax ID to finalize your affiliate program.

Can I Track Clicks and Earnings From Amazon Affiliate Links on WordPress?

Yes, tracking Amazon affiliate links in WordPress requires a plugin with monitoring features like MonsterInsights. After installing it, connect your Google Analytics account and add the affiliate link paths you want to check. The click and earning reports are accessible via the plugin’s menu in the WordPress admin dashboard.

The author

Aris Sentika

Aris is a Content Writer specializing in Linux and WordPress development. He has a passion for networking, front-end web development, and server administration. By combining his IT and writing experience, Aris creates content that helps people easily understand complex technical topics to start their online journey. Follow him on LinkedIn.