Re-directs coming up in analytics?

Discussion in 'Traffic Analysis' started by noobie2shoes, Jun 28, 2008.

  1. #1
    Hi,

    This might be straight forward.

    I have a few domain names with no website on them all redirecting to one single website.

    Will these be recorded in my google analytics as traffic referred from these domains?
     
    noobie2shoes, Jun 28, 2008 IP
  2. gostats

    gostats Peon

    Messages:
    325
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you are http forwarding them from your server configuration, you will not have any records of the forwarding domains in your stats. You might want to log the forwarding done from your http server.

    If you are html forwarding using a meta refresh or javascript, then yes, you will notice the referrer in your stats.
     
    gostats, Jun 28, 2008 IP
  3. noobie2shoes

    noobie2shoes Peon

    Messages:
    704
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for reply mate.

    What is the best way to do this? Do you know of info that will teach me how to redirect in the methods you just said?

    Thanks
     
    noobie2shoes, Jun 29, 2008 IP
  4. gostats

    gostats Peon

    Messages:
    325
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi,

    A javascript or meta-refresh re-direct would look like this:

    
    <meta http-equiv="refresh" content="2;url=http://new-url-here.com">
    
    Code (markup):
    The javascript re-direct would look like this:
    
    <script type="text/javascript">
    <!--
    window.location = "http://new-url-here.com"
    //-->
    </script>
    
    Code (markup):
    Or the simple way is to just have a link.

    However, you may want to consider a http based redirect which appends a uniqe tag to your destination url with "?tagname=value".
     
    gostats, Jun 29, 2008 IP
  5. noobie2shoes

    noobie2shoes Peon

    Messages:
    704
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Meh ?

    Where does this go? In hataccess? If so where in htaccess?
     
    noobie2shoes, Jun 29, 2008 IP
  6. gostats

    gostats Peon

    Messages:
    325
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #6
    This code goes into the <head> section of your site.

    If you are doing an http based re-driect, you will need to add a different rewrite code into your htaccess. (I suspect you may already have some code in the .htaccess.
     
    gostats, Jun 30, 2008 IP
  7. analyticsjack

    analyticsjack Peon

    Messages:
    83
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yes, it will show up as the traffic source being the referring domain.
     
    analyticsjack, Jul 15, 2008 IP