PDA

View Full Version : Keyword Tracking


goofball
31-08-08, 02:09
Hi there, anyone know how to track ppc/adwords keywords?

I am using $_REQUEST, so my adwords url could be www.mysite.com/?keyword=test

Then in shopwindow I am trying to implement the following (which has worked on other sites):

a href="{$oProduct->sBuyLink}&keyword={$_REQUEST['keyword']}">

However this just stops part of the product page to load - I think its my php skills!!

Anyone know how I could fix this?

GeorgeGaz
01-09-08, 15:05
Hello,

I am going to look into this regarding application to the new V2 software.
I will update this thread when I know more.

Any ideas from anyone else doing or done something similar?

Regards

goofball
01-09-08, 19:46
Hi george thank you for looking into this.
If it helps identify the problem I have done the following:

On constants.inc.php I have done been able to do the following:

$new_var = $_REQUEST['keyword'];
echo "$new_var";

and this prints out on any page in the header, however from within:

product_display_list.tpl

I am unable to echo the same variable?

IntroSites
01-09-08, 22:31
have you tried asigning it to smarty?

$oSmarty->assign('new_var', $new_var);

in product_display.php

goofball
02-09-08, 00:34
Hi there - that worked a treat, thanks!

Ive just run out of test quota units, so next test is to make pass into clickref

Thanks for that