I have a couple of systems (google adwords, tradedoubler) that I have to track sale conversions for. The problem is, I want to send the conversion notification not as a pixel code where the user sees it, but in the IPN (Instant Payment Notification) background check. I tried to do something like this:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_BINARYTRANSFER,1);
curl_exec($ch);
where $url would be the src attribute for the img tag. Unfortunately, the conversion is not logged. Anyone have any experience with this?
I'm not sure if I've made myself clear so feel free to ask questions.