I am not a PHP expert and usually use Affiliate Network Tracking or PPC Network tracking, but I want to implement just some basic keyword tracking for Azoogle through a simple PHP code.
My first test to track will be YSM keywords:
--------------------------------------------------------------------
http://www.domain.com/landingpage.php?keyword={keyword}&payperclick=ys m
--------------------------------------------------------------------
I am using this code so far and it does not seem to work correctly: Remember this is very basic.
--------------------------------------------------------------------
<?php
//This grabs the keyword variable
if(isset($_GET['keyword']))
{
$keyword = $_GET['keyword'];
}
//This grabs the payperclick variable
if(isset($_GET['payperclick']))
{
$payperclick = $_GET['payperclick'];
}
?>
----------------------------------------------------------------------
Then for each link on the page i am using
----------------------------------------------------------------------
<a href="http://x.azjmp.com/XXXX?sub=<?php echo $keyword . " - " . $payperclick; ?>">CLICK HERE BABY</a>
---------------------------------------------------------------------
ANY PHP GURU's see a problem with this code?
So far no keywords are being tracked and when I hover over the "CLICK HERE BABY" it does not show the entire link code just
"htttp://x.azjmp.com/XXXX?sub= - "
note: I added the extras t in the htttp above to get it to display properly.
Any help would be appreciated.
My first test to track will be YSM keywords:
--------------------------------------------------------------------
http://www.domain.com/landingpage.php?keyword={keyword}&payperclick=ys m
--------------------------------------------------------------------
I am using this code so far and it does not seem to work correctly: Remember this is very basic.
--------------------------------------------------------------------
<?php
//This grabs the keyword variable
if(isset($_GET['keyword']))
{
$keyword = $_GET['keyword'];
}
//This grabs the payperclick variable
if(isset($_GET['payperclick']))
{
$payperclick = $_GET['payperclick'];
}
?>
----------------------------------------------------------------------
Then for each link on the page i am using
----------------------------------------------------------------------
<a href="http://x.azjmp.com/XXXX?sub=<?php echo $keyword . " - " . $payperclick; ?>">CLICK HERE BABY</a>
---------------------------------------------------------------------
ANY PHP GURU's see a problem with this code?
So far no keywords are being tracked and when I hover over the "CLICK HERE BABY" it does not show the entire link code just
"htttp://x.azjmp.com/XXXX?sub= - "
note: I added the extras t in the htttp above to get it to display properly.
Any help would be appreciated.