1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

?ref= question

Discussion in 'White Hat SEO' started by Br ook, Jan 18, 2009.

  1. Br ook

    Br ook Junior Member

    Joined:
    Nov 26, 2008
    Messages:
    156
    Likes Received:
    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...
     
  2. nasal

    nasal Registered Member

    Joined:
    Nov 27, 2008
    Messages:
    66
    Likes Received:
    25
    Occupation:
    Student
    Location:
    Slovenia
    Home Page:
    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: Jan 18, 2009
  3. Br ook

    Br ook Junior Member

    Joined:
    Nov 26, 2008
    Messages:
    156
    Likes Received:
    10
    Tnx nasal,
    I want to replace the ref=XXX.
    What should I use for the URL when in the backlink?
    Tnx
    Brooke
     
  4. Br ook

    Br ook Junior Member

    Joined:
    Nov 26, 2008
    Messages:
    156
    Likes Received:
    10
    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
     
  5. Br ook

    Br ook Junior Member

    Joined:
    Nov 26, 2008
    Messages:
    156
    Likes Received:
    10
    Anyone?
     
  6. nasal

    nasal Registered Member

    Joined:
    Nov 27, 2008
    Messages:
    66
    Likes Received:
    25
    Occupation:
    Student
    Location:
    Slovenia
    Home Page:
    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.