vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Results 1 to 8 of 8

Google Analytics Hack - obtaining full referring URL

This is a discussion on Google Analytics Hack - obtaining full referring URL within the Analysis: Traffic & SERPS forums, part of the vBulletin SEO Discussion category; found this on digg... -- It’s so frustrating that you can’t usually find which forum thread is linking to your ...

  1. #1
    Member Eros's Avatar
    Real Name
    Eros
    Join Date
    Feb 2006
    Location
    Dhaka, Bangladesh
    Posts
    51

    Google Analytics Hack - obtaining full referring URL

    found this on digg...
    --

    It’s so frustrating that you can’t usually find which forum thread is linking to your website, because under the referring site report, cross segment performance, content report, it truncates the URL at the end of the filename, so you end up with items like:


    /forums/showthread.php
    /forums/viewtopic.php


    etc.


    I managed to find a way to use the urchinTracker function to place the exact referring URL into the top content report. I know it’s a bit of a nasty hack, but I’m willing to live with it, here’s how to do it:


    1) Make sure you place the standard tracking code in the HEAD section of the page, rather than right before the end BODY tag that it usually recommends.


    2) Use this body tag:

    Code:
    <body onload="javascript:urchinTracker(document.referrer);">
    
    Here’s a quick screenshot of the results:

    Once you run this report, you can then apply a filter at the top of “http” to only show the exact referrers.


    The urchintracker script is usually used for tracking javascript or Flash events :
    Google Analytics Help Center - What is urchinTracker and how can it help me?

    Source: Reuben Yau » Blog Archive » Google Analytics Hack - obtaining full referring URL



  2. #2
    Member
    Real Name
    Nick
    Join Date
    Jul 2006
    Posts
    77
    I'd love to see this implemented in vbSEO.

  3. #3
    Junior Member
    Real Name
    David
    Join Date
    Sep 2007
    Posts
    7
    Does this still work?

  4. #4
    Senior Member Shadab's Avatar
    Real Name
    Shadab
    Join Date
    Oct 2007
    Location
    Bhopal
    Posts
    821
    Blog Entries
    12
    Would be nice to see something like this implemented in the vBSEO's GA integration feature.

  5. #5
    nfn
    nfn is offline
    Senior Member
    Real Name
    Nuno
    Join Date
    Feb 2008
    Location
    Portugal
    Posts
    276
    This already works with vBSeo ... mine just shows the friendly url.
    Note that this thread as more than a year.

  6. #6
    Senior Member Shadab's Avatar
    Real Name
    Shadab
    Join Date
    Oct 2007
    Location
    Bhopal
    Posts
    821
    Blog Entries
    12
    Quote Originally Posted by nfn View Post
    This already works with vBSeo ... mine just shows the friendly url.
    Note that this thread as more than a year.
    No. The friendly rewritten URLs of 'my' Forum are appearing fine in the analytics. But the 'referring' showthread / forumdisplay pages of 'other' Forums having default URLs of type : filename.php?query-string aren't getting tracked fully by Google Analytics. (the query string get's truncated).

    EDIT:


  7. #7
    nfn
    nfn is offline
    Senior Member
    Real Name
    Nuno
    Join Date
    Feb 2008
    Location
    Portugal
    Posts
    276
    My mistake ... sorry!
    Where can I see this stats?
    Last edited by nfn; 11-19-2008 at 06:10 PM.

  8. #8
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,983
    i wonder if
    Code:
    pageTracker._trackPageview(document.referrer);
    
    works?

Similar Threads

  1. vBSEO 2.4.0 Released - Includes Google AdSense Targeting Feature!
    By Juan Muriente in forum vBSEO Announcements
    Replies: 74
    Last Post: 05-20-2006, 10:29 PM
  2. Google Analytics - New Free Tool!
    By skizzy203 in forum Analysis: Traffic & SERPS
    Replies: 29
    Last Post: 11-22-2005, 07:06 AM