Attention coders. Easy question for you

Status
Not open for further replies.

wickedmarketer

New member
Feb 24, 2008
70
1
0
Ok. I'm trying to set up sub id tracking in adwords. Here is what I got:

http://example.com/item.php?k={keyword}

Ok, got this on my land page...

Google=<? print $k; ?>

The problem is subid2 which prints the keyword at the cpa network only show one word instead of the whole string. For instant some one may have typed in brick house but it is only showing up as brick.

What am I doing wrong here?
 


As long as youve pulled $k from the GET vars and cleaned it, you just need to url encode the value:

subid2=<?php echo urlencode($k); ?>
 
Status
Not open for further replies.