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.

Google Analytics Hack - Full Referal URL

Discussion in 'Google Analytics' started by WeRASkitzzo, Jan 15, 2007.

  1. #1
    WeRASkitzzo, Jan 15, 2007 IP
  2. Pat Gael

    Pat Gael Banned

    Messages:
    1,331
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Gonna give it a try to see how it works, thanks for the tip
     
    Pat Gael, Jan 15, 2007 IP
  3. Monty

    Monty Peon

    Messages:
    1,363
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for sharing, nice hack.

    But it said :
    Did you experiment with it, any drawback ?
     
    Monty, Jan 15, 2007 IP
  4. WeRASkitzzo

    WeRASkitzzo Peon

    Messages:
    143
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    As far as I've seen there's no drawback. The reason I used to put it in the footer was in case Analytics went down or something like that but the script should simply be ignored if analytics is down soo that should be fine.

    Anyone else know of any risks to putting the code in the header?
     
    WeRASkitzzo, Jan 15, 2007 IP
  5. SearchEngineNerds

    SearchEngineNerds Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Awesome hack, i get a ton of my traffic from random forums, and when i go to see if they're writing something good or bad, the thread is nowhere to be found... dugg.
     
    SearchEngineNerds, Jan 15, 2007 IP
  6. Austars

    Austars Active Member

    Messages:
    1,437
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    95
    #6
    Nice, so all you have to do is add that code and it will automatically show the full URL?
     
    Austars, Jan 15, 2007 IP
  7. tresman

    tresman Well-Known Member

    Messages:
    235
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    138
    #7
    Mmm... I think that's not the proper way to do it, to be true.

    If you do this you're gonna mess your stats, and a URL like http: //www. example.com/myfolder/ will look in you stats like http: //www. example.com/myfolder/ http ://www. myreferer.com/forum.php?id=xx

    If you want to do that it's better doing the following (while there's much more organized ways, this will do the job).

    I'm translating from Spanish, so I'm sorry if something doesn't match exactly.

    Go to your account and select "Edit Settings (configuration)" in the profile you want to track full referers. The go to filters, "add new filter to profile", "Advanced".

    Fill as follows (no quotes!):

    Field A -> Extract A: "Referer" - "(.*)"
    Filed B -> Extract B: leave empty

    Send results - constructor: "User defined" - "$A1"

    Field A is Mandatory, Field B is not, Overwrite results: Yes. Case Sensitive: No

    Save and it done.

    Wait a few hours and then look at: Marketing Optimisation, Visitor Segment Performance, User Defined.

    It's there.

    Another GA tip is: if you want to experiment, duplicate the profile which you are using for the tests, so you do not break the data you have. You can have many duplicate profiles for the same website and then just delete them and re-use.

    And another one: have a quick look in to urchin.js and you'll see easily you can get local SE's such as google.co.uk, google.nl, google.es... displaying properly in the reports, not only a generic Google.

    Many things can be done by using filters properly, but it needs testing.

    My cents.
     
    tresman, Jan 15, 2007 IP
    manish.chauhan likes this.
  8. pittbug

    pittbug Peon

    Messages:
    4
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    The report in my version of analytics shows this thread for example as:

    /http://forums.digitalpoint.com/showthread.php?t=220136

    It has a leading slash, but that's it.

    I did try using filters before, but I never got it to work, have you?

    I used this method of putting the referrers into the top content report because I thought that the variables were stripped by the analytics urchin.js script so Analytics never sees them.
     
    pittbug, Jan 18, 2007 IP
  9. tresman

    tresman Well-Known Member

    Messages:
    235
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    138
    #9
    Hi there,

    Yes, I've used this method and it works. The only downside is that then, in the user-define report, you will see ALL the referers, including search engines, so this can be a long list. This is why I said there's better ways to do it.

    If you like playing with Analytics, the analytics blog http://analytics.blogspot.com has some links which really interesting.
     
    tresman, Jan 19, 2007 IP
  10. zafarkhan

    zafarkhan Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I am really leery of putting tracking code near the top of the page. What if tracking is slow(er), the meat of your page will show up slow as well. IMO, the hack in the original thread may work well for a hobby site, or a site which has some awesome information that its visitors can't live without. But for those who run serious, professional, money making sites the analytics javascript belongs where urchin recommends it. Below the fold, where a user looking at the meat&potatoes can't care less that some overloaded analytics server is busy getting the image.
    For e-commerce sites, competition is literally one click away and a few millisecond delay may reduce conversion rate. Even if it doesn't, a harried, high traffic site owner won't be able to sleep at night thinking it may. Sorry to belabor the point...but there's a reason people recommend you place their code in a certain place on the page(and believe me, google/urchin is not stupid).
    I manage click fraud(www.sofizar.com) and use www.zaralyzer.com . I have found that atleast some of the "fraud" is correlated with slow load time and also site uptime issues.
    -Z
     
    zafarkhan, Jan 24, 2007 IP