How to use Pixel Tracking across domains in PHP -
I understand the basics of pixel tracking, I am able to insert a pixel that references an image on my tracking domain The other gives websites to the other.
However, how can I increase the actual pixel count on my tracking domain? Is there a log that tells me every time that the pixel image was served? Am I able to do something like this:
& lt; Img src = "http://www.foo.com/serveImage/getImage.php?id=5123" />
Then get the getImage page based on that ID, which leads to image and service growth? Or is there a better way to achieve this?
Thank you in advance.
If you just want to output GIF, this is a quick easy way, just make sure that your The script does not come before or after:
header ("content-type: image / gif"); Header ("content-length: 43"); $ Fp = fopen ("php: // output", "wb"); Fwrite ($ fp, "GIF89a \ x01 \ x00 \ x01 \ x00 \ x80 \ x00 \ x00 \ xFF \ xFF", 15); Fwrite ($ fp, "\ xFF \ x00 \ x00 \ x00 \ x21 \ xF9 \ x04 \ x01 \ x00 \ x00 \ x00 \ x00", 12); Fwrite ($ fp, "\ x2C \ x00 \ x00 \ x00 \ x00 \ x01 \ x00 \ x01 \ x00 \ x00 \ x02 \ x02", 12); Fwrite ($ fp, "\ x44 \ x01 \ x00 \ x3B", 4); Fclose ($ FP);
Comments
Post a Comment