How Do I Post Affiliate Links on

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

Adding affiliate links to an active blog is just one way to fuel a passive income by promoting for other companies. Affiliate links work based off of a number of clicks and sales made by the visitors who are most interested in that product or service. Blogs built on platforms such as Wordpress and Blogger allow users to add various forms of passive income to their personal space. These little perks include Google Adsense ads and affiliate links from other companies. To include affiliate links to a blog, the user must first sign in and add a bit of code onto the sidebar.


Step 1

Open a blank document in your favorite word processor and copy and paste the affiliate code into it. Make sure the code you copy has your unique affiliate code inside of it. This code or user ID number tells the website where its traffic came from as well as whom to pay should a customer purchase one of their products because of the incoming traffic. Save the document for later use and open your Web browser.


Video of the Day

Step 2

Go to and sign in using your email address and password. Select the blog you want to use the affiliate link on and click on the "Design" link. This page is an overview of your blog's page elements. However, before copying the code onto the blog, you'll want to back it up.


Step 3

Back up you blog by clicking on the "Edit HTML" link in the upper left-hand corner of the screen. Click on the "Download Full Template" link on the following page to back up your blog. This is just in case the code doesn't work or if you'd like to change the blog back to the way it was.


Step 4

Go back to the "Design" page by either hitting the "Back" button on your browser or clicking on the "Page Elements" link in the upper left-hand corner. You're now back where you started.

Step 5

Click on the "Add a New Gadget" link where your sidebar is located. A Gadget will allow you to add things such as widgets, HTML codes and images without harming the rest of the blog. Look through the list of gadgets for one called "HTML/JAVASCRIPT."



Step 6

Select the "HTML/JAVASCRIPT" widget to open a new page. Add a title to the widget if you like and then go back to your word document where you saved the affiliate's special code. Copy the code from your word processing document and past it into the content box of your new widget.


Step 7

Hit "Save" to close the pop-up window and then click the orange "Save" button in the upper right-hand corner of your blog's elements page. After saving, you can check and see how the new addition to your blog looks.

Step 8

View your changes by clicking on the "View Blog" link at the top of the screen. Make sure the widget with your affiliate code is in the right place and is centered. Click on the link to see if it goes to the right page. If you get an error or a page not found, look over the code in your widget, your word processing document and the affiliate's website for any differences or errors.




Report an Issue

screenshot of the current page

Screenshot loading...