1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to get referrer's from blogspot blogs?

Discussion in 'WordPress' started by hulkster, May 27, 2005.

  1. #1
    I've been wanting to do this for a while, but I finally decided to start Blog for the Hulk ... here is the first post. Since I have some embedded images, I can get some idea of how many people are looking at it from my web server logs ... but how do I get the referrer data? I.e. is there a way of embedding something in the blogspot code so that I can see if someone comes from an external link, what that is, and how many times?
    SEMrush
    Folks like sitemeter claim to do this, but wonder how this is being done under the covers, since the referrer is only passed on the initial load of the page. Yea, I know I could host on my own domain (so I'd see this in my own log files), but I'm curious if this can actually be done on a blogspott'ed hosted blog and if so, how?

    Thanx,
    alek
     
    hulkster, May 27, 2005 IP
    SEMrush
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,297
    Likes Received:
    2,602
    Best Answers:
    461
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Going to need to do it with some sort of external request (image, JavaScript file, etc.)
     
    digitalpoint, May 27, 2005 IP
  3. onestop

    onestop Well-Known Member

    Messages:
    534
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    138
    #3
    I use statcounter.com for my blogger blog. It's free, and pretty good for a free stats program.
    as Shawn said, you have to enter their javascript code to your template, and you'll be ready to go.
    good luck with your new blog.
     
    onestop, May 27, 2005 IP
  4. hulkster

    hulkster Peon

    Messages:
    1,705
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I already have embedded images ... but I don't think that works because people come to the "blogpage URL" ... which then loads the images ... so I see that blogpage URL in my Apache web logs, but you don't see the originating URL. I did stumble across this way of doing it in Javascript (haven't tried yet), but that seems to be what will be required.
     
    hulkster, May 27, 2005 IP
  5. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    64
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you can't get original web server logs, you can try using JS to get referrer data. For example, you can add a search argument to a resource on the page that points to your server configured to log requests.

    HTML:
    <img id="i1" src="nojs.gif" alt="">
    JS:
    document.getElementById("i1").src = "image.gif?ref=" + document.referrer + "&url=" + window.location;

    Then you can examine your server's logs and extract all URLs and referrers.

    J.D.
     
    J.D., May 28, 2005 IP
    hulkster likes this.
  6. khushal

    khushal Well-Known Member

    Messages:
    1,475
    Likes Received:
    198
    Best Answers:
    0
    Trophy Points:
    155
    #6
    khushal, May 28, 2005 IP
  7. mxlabs

    mxlabs Peon

    Messages:
    327
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    yup, I use the extreme-dm tracker, too.
     
    mxlabs, May 28, 2005 IP
  8. Intsecure

    Intsecure Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Check out StatsSheet its got all the information you are looking for. I've found this the best out of all free counters.
     
    Intsecure, May 28, 2005 IP
  9. hulkster

    hulkster Peon

    Messages:
    1,705
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I ended up implementing that approach - I don't need detailed reporting - just curious to get a general idea where stuff is coming from - I'm a big fan of the KISS principal, so thanx for the great suggestion.
     
    hulkster, Jun 1, 2005 IP
  10. macdesign

    macdesign Peon

    Messages:
    568
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I was looking for just a simple counter for my blogs the other day and found a free tool that does much more.

    I was just told about Php Stats - http://www.php-stats.com/index.php?lang=eng it's mostly in Italian, but there is an English version of the display pages. No install instructions in English, but it took me less than 15 minutes to install. Requires PHP, but the site itself does not have to be PHP

    Create a subdirectory called stat - or maybe something else a little more obscure - cause I'm not sure how well it protects against public access to your stats info, and copy everything into that.

    It provides real time access to referrers rather than waiting to download server logs and much better info than most of the log analysis tools I've used.

    You need to stick in either HTML or PHP code into the pages of your site. So far I have it working ok in Wordpress blogs, ForntPage sites and NOF sites.
     
    macdesign, Jun 1, 2005 IP
  11. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    64
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I am too. That's a great principle, any way you look at it :D
     
    J.D., Jun 1, 2005 IP
  12. hulkster

    hulkster Peon

    Messages:
    1,705
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #12
    BTW, I had forgotten that Google bought Urchin a while back ... so anybody want to make any guesses when they add web metrics to Blogger using this?
     
    hulkster, Jun 2, 2005 IP
  13. tradefor

    tradefor Peon

    Messages:
    98
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #13
    This product does look very interesting; especially, for me, its "Exited to?" data, and in particular its exit via AdSense data.

    A couple of things concern me though:
    1. probably misplaced suspicion about spyware
    2. No Privacy Policy statement
    3. How are they monetizing this?
    I use Statcounter, the first tracker I have tried beyond my host's logs, and their business model is fairly clear cut - a subscription upgrade.

    Very nice looking blog you have, btw.
     
    tradefor, Jun 3, 2005 IP
  14. scangilli

    scangilli Peon

    Messages:
    18
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I use statcounter.com and 0stats.com
    Both are free to use and work fine to me :)
     
    scangilli, Jul 21, 2005 IP
  15. seotips007

    seotips007 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    hi i am using www.histats.com for my blogspot account
     
    seotips007, May 23, 2011 IP