Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   Clear Pixel Tracking (http://www.velocityreviews.com/forums/t163452-clear-pixel-tracking.html)

Chad 11-17-2005 07:40 AM

Clear Pixel Tracking
 
I'm trying to implement Clear Pixel Tracking so that we can track which
customers get to the confirmation page of an affiliate site. I'm
supposed to deliver to them a URL with our domain that looks like this:

<img src="https://www.mydomain.com.com/url?campaign=25&env=PRD" width=1
height=1 border=0>

That's fine, but my question is: what are the different methods I can
use on our side to track the pixel hit? What do the marketing
companies like doubleclick do to track a pixel hit almost instantly?

Thanks!

Chad


Toby Inkster 11-17-2005 08:17 AM

Re: Clear Pixel Tracking
 
Chad wrote:

> <img src="https://www.mydomain.com.com/url?campaign=25&env=PRD" width=1
> height=1 border=0>
>
> That's fine


No it's not. Try:
http://www.mydomain.com.com/url?campaign=25&amp;env=PRD
^^^^(1) ^^^^^(2)

1. Many browsers will bring up a warning dialogue if a page contains a
mixture of HTTP and HTTPS objects.

2. Ampersands in HTML must be escaped.

> but my question is: what are the different methods I can use on our
> side to track the pixel hit?


Easiest would be to make "url" some script in a language of your choice
that increments a counter stored in a database somewhere, and then prints
out a transaparent GIF (with the correct MIME type of course).

You might be able to speed it up a little by storing your count in a flat
file instead of a database, but then you'll need to worry about file
locking: to make sure that simultaneous writes to the file don't break
things. (With an SQL database, the SQL engine takes care of these little
intricacies itself.)

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact


W˙rm 11-17-2005 10:59 AM

Re: Clear Pixel Tracking
 

"Chad" <carimura@gmail.com> kirjoitti
viestissä:1132213204.306879.315120@z14g2000cwz.goo glegroups.com...

<snip>

> That's fine, but my question is: what are the different methods I can
> use on our side to track the pixel hit?


Tracking hits to 1x1 pixel is not really that reliable at all. Some software
firewalls have option to "remove web bugs" (for example ZoneAlarm pro) so it
would strip your 1x1 pixel images happily off and you would not see any hit
from those at all.



Chad 11-22-2005 07:36 AM

Re: Clear Pixel Tracking
 
Yes I can easily write a small script to handle the hit. That's what I
was looking for. No need for flat file, mysql will work fine.

The URL issues are minor that was just a quick example I typed up.

Thanks for your help,
Chad



All times are GMT. The time now is 07:10 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.