Thứ Tư, 8 tháng 6, 2011

zpag

Thứ Tư, 1 tháng 6, 2011

How to Track Keywords The Right Way

Do you know what keyword tracking is? By tracking your keywords, you can find out which keywords convert into sales or leads and which ones are a waste of money. Most affiliates do not track at all. And so, most of their campaigns will fail. Or they use sloppy tracking, by not encrypting their keywords and sending them straight to the affiliate network. Then the people at the network also know which keywords are converting well for their affiliate. Ahem …
Now there are several possibilities for tracking keywords. You can use third party tracking software, for example the free Tracking202. They have an excellent product, no doubt, but are you really willing to give them all your campaigns, ad copy and keywords? Well, I would rather invest a bit of my time and be sure that no one is seeing all my converting keywords. They also offer a self-hosted solution, but that’still shady imo.
Or you can have a keyword tracking solution custom made. The same confidentiality problems arise here. Apart from being quite expensive.
Or you can do the tracking process yourself.
What, myself?
YES!
It isn’t that difficult, just takes a little bit of work.
Easy Keyword Tracking Tutorial
Here is a step by step little tutorial on setting up keyword tracking, with encrypted keywords, so you know exactly which keywords are converting. You can then delete all non-converting keywords and make your campaigns much more profitable!
Firstly you are going to add a piece of code to the url you are using in your PPC or other advertising medium. In Adwords and MSN this can easily be done online on a keyword level. In Yahoo you need to download your campaign (Excel sheet), add the url’s on keyword level in the excel sheet and upload the sheet again.
If the destination url to your page reads: www.yoursite.com/linkpage.htm then you are going to add ?sid=xxxxxxx to the url. If there is already a ?var=yyy in your url then you use &sid=xxxxxxx behind it. Of course xxxxxxx can be chosen by you and must be different per keyword. For example you can use ad1kw004 if it is the 4th keyword in your list of ad group one. This way you will know exactly which keyword this is, but nobody else!
So now the url of your page will be different per (set of) keyword(s) and read something like this: www.yoursite.com/linkpage.htm?sid=ad1kw004. The trick now is to transfer this value into your affilaite link. For this you need the following piece of code. Add it just before the end of the head of your landing page .php file:
// check for var, place into $subid
if(isset($_REQUEST['sid'])) { $subid = $_REQUEST['sid']; } else {  $subid = ”; }
// decode url and strip it
$subid = urldecode($subid);
// filter tags filteren to prevent scripting
$subid = strip_tags($subid);
?>
It reads the url, checks for ‘sid’, places it in a variable called ‘subid’ and lastly filters the tag to prevent it from any malicious injection attempts from hackers. Now there are several ways to continue. The most simple one is to link to the affiliate offer from your landing page directly, then the link should look like: ”>link text or image.
Et voila, all your keywords will show up encrypted in your affiliate network reports. You can then check which keywords convert and which don’t. And nobody else but you will know this :)
Some networks use a different format for the subid. Check this site for a list of subid’s.