Hi,
I am planning to track my PPC campaign in both my Google Adword and Yahoo search. The traffic that direct over my site have the following URL:
Google:
Yahoo:
What I want to do is, to code my landing to track those keywords coming through both search engine. I am planning to use SESSION to do the tracking. My session codes are as follows:
and my affiliate link will be as follows to track those keywords using clickref in my affiliate network account:
My question is am I doing the right thing? Can I have $_SESSION variable with similar name/value='tracking' as what I shown above?
Please advice. Thanks
I am planning to track my PPC campaign in both my Google Adword and Yahoo search. The traffic that direct over my site have the following URL:
Google:
HTML:
www.abc.com/?kw=keywords
HTML:
www.abc.com/?OVRAW=keywords&OVKEY=keywords&...etc
PHP:
<?php
session_start();
$_SESSION['tracking'] = $_GET['kw'];
$_SESSION['tracking'] = $_GET['OVKEY'];
?>
HTML:
http://www.awin1.com/awclick.php?mid=1&id=12345&clickref=<?php echo $_SESSION['tracking'];?>
Please advice. Thanks