Wednesday, September 20, 2006

Tracking Clicks on Link

Thought of adding the tracking features on link clicks statistic by users. Did a search on google and one of the search points to google analytic. If you have the an account with google analytic and you wish to track the clicks on the links of your website,

Here's the example, additional codes in [a href] tag by adding this codes 'onClick="javascript:urchinTracker('/outgoing/example_com');"'

<a href="http://www.example.com" onClick="javascript:urchinTracker('/outgoing/example_com');"/>

Important: if your pages include a call to urchinTracker(), utmLinker(), utmSetTrans(), or utmLinkPost(), your Analytics tracking code must be placed in your HTML code above any of these calls. In these cases the tracking code can be placed anywhere between the opening <body> tag and the JavaScript call.

To verify if you have done it correctly, check your Top Content report 24-48 hours after the updated tracking code has been executed.

Any idea how do I display the number of clicks behind the individual links.

Check support for using track clicks on outbound links

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...