Forum Moderators: DixonJones

Message Too Old, No Replies

Tracking search term used in Google ads

is there some php code to do this, please?

         

lakrasia

2:10 am on Apr 19, 2006 (gmt 0)

10+ Year Member



Hi,

I'm new, so hello everyone - this is my first posting and it's a question.

I'm setting up a site that sells red and blue widgets and will be doing ppc.

If the visitor searches for red widgets and then clicks on my Google ad, it would be nice if I could display a red widget rather than a blue one on my site.

I realise I could use a different php variable in the url in each ad to do this, but it's impractical for various reasons.

If anyone knows the right code, I'd be a very happy bunny - I tried setting an ad leading to a page using phpinfo(), but it didn't show up my search word anywhere, so I assume I was on the wrong track there.

Cheers
Linda

larryn

3:13 pm on Apr 19, 2006 (gmt 0)

10+ Year Member



Linda,

The only easy reliable way to track incomming referrals from PPC campaigns is by using a tracking URL. Examining the referring URL, when available, does not always provide information in an easily accessible format. And if your ad is served as part of Google's content network (Ad Sense) then its even more difficult!

For Overture/Yahoo, adding tracking information is simply a checkbox setting, but for Google and most others, you need to manually add the tracking information to your destination URL; so instead of "www.mysite.com/landingpage.html", you would send the ad clickee to "www.mysite.com/landingpage.html?ref=google&kw=blue+balls". However Google does make it a bit easier, you can use a variable to put in the keywords automatically: "www.mysite.com/landingpage.html?ref=google&kw={keywords}". Here's a link to a bit more information about keyword insertion: [seobook.com...]

Good luck,

Larry

lakrasia

3:58 pm on Apr 19, 2006 (gmt 0)

10+ Year Member



Hi Larry,

Thanks - your answer was extremely helpful and informative.

Very kind of you to take the trouble and hope I can help others when I get more involved in the forum.

Cheers
Linda

LifeinAsia

4:16 pm on Apr 19, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Alternatively, your Google ad for red widgets should go to yoursite.com/redwidgetslandingpage.php and your Google ad for blue widgets should go to yoursite.com/bluewidgetslandingpage.php.