?ref= question

Br ook

Junior Member
Joined
Nov 26, 2008
Messages
159
Reaction score
10
Hey guys,

I wanna send traffic from different sources to my site and i need to know from where the come from, the tracking goes to aweber trackig field and then i'll track the selling.
For now I send them to domain .com? ref=XXX (is the traffic source like: squidoo, hubpages, adwords, forum, blog etc).

The problem: As I understand google look at each ref as a different page (from the SEO point of view).
The page I wanna promote is domain.c0m.

Would be happy to get you opinion on that.

Have a great weekend.

Brooke

P.S.: Just wanna mention that the url is with anchor text, like this:
<A *HR3F*="www .domian. com? ref=XXX">anchor text</A>
P.S.2: I'll hope you'll get it with all the broken links...
 
I don't quite understand what you're trying to do but you could display different things according to the ?ref with a switch, like this:

PHP:
<?php 
switch ($_GET['ref']) {
case 'hubpages':
include('hubpages_sell.php');
break;

case 'squidoo':
include('squidoo_sell.php');
break;

default:
include('default_sell.php');
}
?>

Or if you wanted to get rid of that ?ref=xxx anchor you could use the same switch but using switch ($_SERVER['HTTP_REFERER']) {} I think.. never tried this tho'.

Edit: not the same switch but the same method, you should look at the domain from which the user visited your site and put it in the case.. like case 'http://google.com/?q=help'.
 
Last edited:
Tnx nasal,
I want to replace the ref=XXX.
What should I use for the URL when in the backlink?
Tnx
Brooke
 
Tnx nasal,
I want to replace the ref=XXX.
Ther ref is going to the Ad Tracking in aweber.
What should I use for the URL when in the backlink?

Tnx
Brooke
 
I still don't understand what you're trying to do sorry..

If you are trying to get rid of the ?ref and use only the domain in the backlink but still want to divide where the user came from, use that switch function with the referrer url in the case statement.
 
Back
Top