homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Script that decides which 3rd party pixel to fire
scripts, pixels, logic

5+ Year Member

Msg#: 4243852 posted 11:49 pm on Dec 17, 2010 (gmt 0)


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 !



5+ Year Member

Msg#: 4243852 posted 10:31 am on Dec 22, 2010 (gmt 0)

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.


5+ Year Member

Msg#: 4243852 posted 7:02 pm on Dec 22, 2010 (gmt 0)

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.


5+ Year Member

Msg#: 4243852 posted 1:30 pm on Dec 23, 2010 (gmt 0)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved