Date: 11/18/05 (Java Web) Keywords: java This piece of JavaScript assigns a pageview to any click on a link - the pageview is attributed to the filename you specify. For example, to log every click on a particular link to www.example.com as a pageview for "/outgoing/example_com" you would add the following attribute to the link's <a> tag: <a href="/go.php?http://www.example.com" [...] Source: http://blog.taragana.com/index.php/archive/tracking-outbound-clicks-with-google-analytics/
|