How to Integrate an Amazon Associates Products Widgets into Sitefinity

How to Integrate an Amazon Associates Products Widgets into Sitefinity

May 12, 2009 0 Comments

The content you're reading is getting on in years
This post is on the older side and its content may be out of date.
Be sure to visit our blogs homepage for our latest news, updates and information.

Introduction offers a sales associate service where you can receive a 15% of the purchase price as compensation. By placing a special widget on your website, choosing some products to advertise, uploading a user control with special JavaScript on your website, you can easily use your website to earn extra money.

How to Make the Widget

First, you need to sign up for an associate account. You will be given a Tracking ID, after the sign up is complete. This ID encapsulates all of your personal info from, including your payment method and contact info. Although you could have a check sent to you, you can also have funds deposited in an gift certificate. Once you have logged in successfully, you will be brought to an Amazon Associates web page. This page will keep track of all the orders from your website. On the left of the web page, click on Get Started to see what widgets are available. On the next page you will learn more info on how the program works and how to create widgets:

When you have selected a widget, click learn more and follow the on-screen instructions to create the widget. Using the MP3 clips widget, here is the creation screen:

When you see this screen, click Add to my Web Page and you will receive some JavaScript code. Copy and paste that code into a user control like this:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AmazonFavoriteProducts.ascx.cs" 
    Inherits="AmazonFavoriteProducts" %> 
<script charset="utf-8" type="text/javascript" src=""</script> 
    <href="" Widgets</a></noscript

Although the URL above has omitted my tracking ID, on your URL you'll notice a link to the product plus your tracking ID. This is how knows that you made the referral.

Once you have put the code into a user control, upload it to Sitefinity. Then, drag and drop it onto a page. For more info on user controls and Sitefinity, please refer to this article. Using the favorite product widget as an example, here is what is could look like:


The Progress Team

View all posts from The Progress Team on the Progress blog. Connect with us about all things application development and deployment, data integration and digital business.

Comments are disabled in preview mode.
Latest Stories
in Your Inbox

Subscribe to get all the news, info and tutorials you need to build better business apps and sites

More From Progress
ProgressNEXT: Premier Event for Modern Application Development
Read More
Seven Reasons to Check Out Sitefinity 11.1
Read More
Getting Started with Your Omnichannel Content Strategy
Read More