| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|Tracking pixel/bug/beacon for affiliate thankyou pages|
Can I do this with a simple PHP script?
So - I run an affiliate lead gen business and am able to place a pixel on the confirmation page of one of my main partners. BUT - not the Google AdWords pixel : (
Can I use something as simple as this?
<script language="PHP" src="http://---------/conversion.php">
<img height="1" width="1" border="0" src="http://----------/pagead/conversion/?somevalueshere"/>
And then a "conversion.php" script like:
$value = array();
$value['date'] = date('Y-m-d H:i:s');
$value['ip'] = $_SERVER['REMOTE_ADDR'];
$value['page'] = $_SERVER['REQUEST_URI'];
$value['from'] = $_SERVER['HTTP_REFERER'];
$value['payout'] = $data['lead_payout'];
$value['lead_buyer'] = $data['lead_buyer'];
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved