Easily Convert Regular Ebay Links to Ebay Affiliate Links

Sharing is caring!

Ebay Affiliate Link Not Working:

As I was creating my price comparison, ecommerce website, I was testing whether my Ebay affiliate links were working.  (I am using WordPress Woocommerce and comparing product prices between Amazon and Ebay for visitors).

On my site’s product page, when I clicked on the ebay link, it did direct me to the product on Ebay, but when I looked at the ebay URL on the top, my Ebay EPN campaign id was not showing. The URL was only showing the item ID. I know I needed to have the campaign ID so that I get affiliate credit from Ebay. The link in the URL without the campaign ID is shown below:

Item ID only, no Ebay campaign ID
No Ebay campaign ID

I went back to the ebay developer’s page to make sure that I pasted the correct Ebay Application ID (appID) – and that it was the app ID for production and not sandbox. I made sure that I am using the proper Ebay EPN Campaign ID. These two things are needed for the WordPress plugin that I use to fetch Ebay products on my WordPress interface.

Anyway, those two item numbers (for Ebay AppID and Campaign ID) were both correct.

So I went and logged in to my Ebay EPN Account to make sure and see how the affiliate links should look like.

On the top part of the EPN page dashboard, we see the Affiliate Overview, when we scroll down, we are able to create affiliate links using our campaign ID. Here’s how the Ebay Partner Network (EPN) dashboard looks like.

EPN Dashboard
EPN Dashboard

In order to see how a working ebay affiliate link looks like I went and created a promotable/ affiliate link on the Ebay EPN dashboard:

The first step is to choose which campaign ID to use. When we sign up for the EPN, we automatically get a default campaign ID and we can also create new ones if we want to organize our campaigns.

The second step was to paste a link of the ebay item we want to ‘sell’. Then, click on ‘Create’ – blue button beside the ebay url/link.

Create Ebay Affiliate Link
Create Ebay Affiliate Link

After clicking on create, I was given a proper affiliate link with my ebay campaign id. This is how it should look like. As you can see in the image below, my campaign id is attached in the url. It is a proper affiliate link (I just redacted  my actual campaign ID) – unlike the one above where it only shows the item ID and not my campaign ID.

Ebay Affiliate Link with Campaign ID
Ebay Affiliate Link with Campaign ID

So I had to look for a solution. When I scrolled down further in the Ebay EPN dashboard, I saw that there is a simpler way to convert all Ebay links in my website into Ebay affiliate links. I just have to paste a script inside the <head> tag of my website. Here’s a screenshot of where it is in the Ebay dashboard.

Ebay script to convert links to affiliate links
Ebay script to convert regular links to affiliate links

Once you have pasted the script to your website, (after <head> tag and before the </head> tag). You can hover over your ebay link to make sure that your campaign ID is showing in the url.

Facebook Comments

Sharing is caring!