Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Script that decides which 3rd party pixel to fire

scripts, pixels, logic



11:49 pm on Dec 17, 2010 (gmt 0)

5+ Year Member


We have a tracking pixel on our shopping cart that reads data from the transaction confirmation screen and reports sales data to a 3rd party. The pixel also reports data held in a cookie on the consumers browser.

I want to place a 2nd third party pixel that will do the same thing, reporting when from the same transaction and a separate cookie. The catch is, I only want one of the two pixels to fire, depending on which cookie is the most recent on the users browser.

Does anybody know what type of script would do this, or if this is something I can pick up somewhere? Im obviously not a programmer and hope this isnt a stupid question.

Thanks !


10:31 am on Dec 22, 2010 (gmt 0)

5+ Year Member

Hi, sorry that no one has replied yet.

I don't have any experience with tracking pixels, or not in the last 5 years anyway, unless you mean the pixel (1px gif) that's shown with JavaScript disabled with stuff like YWA and Google Analytics. These can be configured to report conversion data to third parties. If you are using some other software, consider changing as conversions can be attributed to different sources etc inside the program rather than at the page script level.

Regardless of that, what you want to do is definitely possible, but it's highly unlikely there's an existing script for it. I would estimate 1-2 hours work for a skilled PHP/ASP/whatever programmer to write a script that would do this for you.


7:02 pm on Dec 22, 2010 (gmt 0)

5+ Year Member

Thanks for the reply - it helps. I was talking about affiliate marketing tracking pixels, but wasnt sure if I should put the question in the affiliate forum or this one.


1:30 pm on Dec 23, 2010 (gmt 0)

5+ Year Member

Ahhh, got it - yeah, the affiliate guys would be more likely to help you, maybe there is an existing solution. Whatever code would be similar to what I was talking about before.

Featured Threads

Hot Threads This Week

Hot Threads This Month