Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way I can track actual sales on purchases utilizing Promo or Discount Codes obtained through my site? My site will link to e-commerce sites where users can use those promo codes on their purchases to save money. My site will not actually be selling any items, it is all referrals to other sites. I want this to be done outside of any 3rd party commission platform such as Commission Junction or LinkShare.


share|improve this question

migrated from stackoverflow.com May 12 '11 at 12:33

This question came from our site for professional and enthusiast programmers.

Are you planning to program something based on this, or should it be on Webmasters? – David Thornley May 10 '11 at 21:09
I'm open to any solution that makes sense and is accurate. – Scott May 11 '11 at 13:52
I think you're going to have to talk to those e-commerce sites as that's where the sales are made. – paulmorriss May 12 '11 at 12:59

There could be a couple of possibilities:

  1. Does the site have any sort of payment notification system? For example, PayPal can send your server an automatic notification whenever a payment is received. If the service you are using has something similar it may contain any promo code that is used.

  2. You can track outbound clicks to these sites, however that doesn't guarantee a sale was made. If the user clicked the link, but didn't make a purchase, it wouldn't be recorded properly.

I think it is difficult to achieve what you are trying to do accurately unless a method is provided by the site you are using.

share|improve this answer

You can develop a tracking pixel and ask your partner site to place it in conversion completion page and ask them to pass the used promo code value.

Regarding creating tracking pixel, read this discussion here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.