Forum Moderators: martinibuster

Message Too Old, No Replies

how to check if a user comes from google search AND did NOT click one

of my adwords ads shown? is it possible?

         

NewSkool

3:55 pm on Apr 3, 2006 (gmt 0)



now you might wonder why i wanna do this.

let met explain:

if the user comes with organic traffic, i wanna show him PPC ads. because i didn't pay to get him there. logical?

IF the user came in via an adword ad, i want to hide the google ads.

i use PHP so i can check the referrer etc.

is there a variable to check to see if the user arrives via unpaid or commercial "ads"?

vordmeister

4:26 pm on Apr 3, 2006 (gmt 0)

10+ Year Member Top Contributors Of The Month



I wanted to do something similar. I didn't notice any difference in referrer between adwords and natural search so I directed adwords traffic to index.php?ref=google. Anyone who lands there gets a cookie. Php on all pages reads the cookie and serves up the appropriate information.

crick

4:30 pm on Apr 3, 2006 (gmt 0)

10+ Year Member



I don't think its possible to make your site show up one way for one set of visitors and another for another set of vistors.

NewSkool

4:34 pm on Apr 3, 2006 (gmt 0)



vordmeister: good idea. but not perfect.

crick: ... :)

Eazygoin

4:51 pm on Apr 3, 2006 (gmt 0)

10+ Year Member



I use a simple little programme called Xlogan, which is free, to distinguish between PPC, organic, and Froogle traffic. Not really sure if thats what you want, but thought I'd mention it anyway :-)
It doesn't specify the user though, but does provide some useful stats.

[edited by: Eazygoin at 5:04 pm (utc) on April 3, 2006]

jomaxx

4:59 pm on Apr 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



NewSkool, what's not perfect about vordmeister's suggestion?

The only thing I would add is to redirect the user to index.html (or whatever) after setting the cookie, so that users don't inadvertently bookmark the AdWords version of the URL.

NewSkool

5:00 pm on Apr 3, 2006 (gmt 0)



"sueful" stats indeed... google will sue you.

jomaxx

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

WebmasterWorld Senior Member 10+ Year Member



Okay, I guess I have to ask you again what you're talking about. Google will even set up these tracking URLs for you if you set up conversion tracking.

anand84

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

WebmasterWorld Senior Member 10+ Year Member



NewSkool..I did not get if you were serious on your last post..Why should Google sue you..Its inside ToS to find out the source of a click and use it to our wish...

inbound

5:17 pm on Apr 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Turning on conversion tracking should provide you with a tracking ID for visitors from Google Ads, check if this is present and you know if you have paid for them to visit.

DO NOT change the URL that users are sent to in rder to implement this, it may cause a big reduction in your ad ranking. It will probably be easier to parse html files as php to do the tracking if the destination pages are not dynamic already.

Here is a typical conversion tracked google URL as it appears in a logfile:

GET /yourpage.php?yourparameters=here&gclid=ABCDEFGHIJKLMNOPQRSTUVWXYZ1

The gclid value is made up of upper and lowercase letters, numbers and a few other characters - I think it is similar in origin to the internal unique ID's given to apache requests. It's there to pass details to your tracking code, interestingly you do not need code to be present to have this feature on. I found this out by accident and it's handy to use in ROI tracking.

NewSkool

5:30 pm on Apr 3, 2006 (gmt 0)



well the "sueful" thing was kind of a joke relating to his typo.

inbound: mind explaining further?

inbound

8:11 pm on Apr 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To explain further I'll need to know a couple on things, nothing too specific though.

1. Are the advert landing pages dynamic? (php/asp/other)

2. If the landing pages are static (htm/html) then do you host on Linux? and do you have control over most of the server settings?

3. Do you know what to do with the coding (cookie/sessionID) once you know the visitor has arrived through AdWords?

4. What are you unsure of? I'm sorry I maybe wasn't too clear, I often miss important information due to assuming people will know (it also does not help I didn't have much time to post in).

Please keep this on the forum and non-specific, that way others can benefit from it (i.e. no sticky mail please).

NewSkool

8:23 pm on Apr 3, 2006 (gmt 0)



inbound: i use PHP and i have full control.

what i wondered was basically how the urls differ exactly. you provided an example, but i didnt get how it differed, really, and how you check it.

inbound

8:33 pm on Apr 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



O.K.

Here is an URL that a visitor would go to without coming from Google, conversion tracked, advertising:

www.example.com/yourpage.php?yourparameters=here

And with tracking on:

www.example.com/yourpage.php?yourparameters=here&gclid=ABCDEFGHIJKLMNOPQRSTUVWXYZ1

You only need to check for whether gclid exists, if it's there then you know it's a Google paid visitor. There are simple pre-defined functions that will return the value of GET parameters pairs.

E.G.

$gclidcontents = $_REQUEST['gclid'];

The above only loads the value of gclid into a variable, you could just use a conditional statement if you don't want to know what the value of gclid. To make this advice suitable for all, the pseudo code for this is as such:

IF gclid is not "" THEN do not show adverts ELSE show adverts END IF

NewSkool

9:23 pm on Apr 3, 2006 (gmt 0)



ah! very nice!

so gclid is the key. this could prove very useful indeed....

SanDiego Art

9:07 pm on Apr 4, 2006 (gmt 0)

10+ Year Member



Or instead of using Google conversion tracking, you can simply have your destination URL include any variable you wish. We use the basic format of: domain.com/?source=AdWords - or YahooSM, MSNadCenter, etc... And then take the appropriate cookie/ad filtering approach.

SanDiego Art

9:12 pm on Apr 4, 2006 (gmt 0)

10+ Year Member



Sorry - I didn't read vordmeister's response fully. That is the same method as I suggested.

NewSkool

11:13 am on Apr 5, 2006 (gmt 0)



i cant be sure that this works... well i know it works if the glic isnt there, but is it really there when a user has come from an adwords ad? its not as GET at least thats for sure :/

jatar_k

5:00 pm on Apr 5, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



it is only added if they have tracking on, otherwise it will not be there

you can just check referers too, not 100%, but may be good enough

in your adwords you can add tracking strings yourself, which I always did and then test for those specific $_GET params.

NewSkool

5:07 pm on Apr 5, 2006 (gmt 0)



who are "they" and what does "tracking on" mean?

jatar_k

5:10 pm on Apr 5, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



they == an adwords advertiser, I guess that means you

tracking == AdWords conversion tracking

as inbound explained above

NewSkool

7:59 pm on Apr 5, 2006 (gmt 0)



damn so i need to use that stupid Converion Tracking #*$!?

it shows more google propaganda :/

jatar_k

8:02 pm on Apr 5, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



not really, I never used it and had no issues tracking. I used tracking strings as I mentioned above

using urls something like this in your ads

www.example.com/page.html?src=G4

I numbered campaigns and keywords within those campaigns, takes a bit of time but works very well

NewSkool

8:40 pm on Apr 5, 2006 (gmt 0)



okay so i need to do that? grrr...