| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|Tracking pixel/bug/beacon for affiliate thankyou pages|
Can I do this with a simple PHP script?
| 10:28 pm on Nov 17, 2008 (gmt 0)|
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.
© Webmaster World 1996-2014 all rights reserved