Referrer Tracking Script

Discussion in 'General Scripting Chat' started by three3s, Dec 7, 2011.

  1. three3s

    three3s Regular Member

    Joined:
    Feb 17, 2009
    Messages:
    306
    Likes Received:
    198
    Hi guys,

    I was wondering if anyone can tell me either a good free website tracking program which can display the exact referral url of a website or a hack that actually works in Google Analytics to make it display the exact referring URL of the incoming traffic.

    Any suggestions appreciated,

    Thanks.
     
  2. xpwizard

    xpwizard Junior Member

    Joined:
    Nov 6, 2010
    Messages:
    198
    Likes Received:
    122
    Here's the resources for you:

    To find the referrer in javascript, use the following:
    Code:
    document.referrer
    In Analytics, here's how to add custom variables to track:
    Code:
    http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html
    Here is another example of a person using custom variables:
    Code:
    http://beantin.se/post/479684107/true-vistor-sources-google-analytics