Im trying to track outgoing links however the example used in googles help:
<a href="http://www.example.com" onClick="javascript
:urchinTracker('/outgoing/example.com');">
differs from what I need. My pages are dynamically creating in PHP.
<a href="http://www.example.com" onClick="javascript
:urchinTracker('/outgoing/');">
I tried coding it like this:
$site_client = "ab_flexer";
$site_link = "http://www.abflexor.com";
<a href="' . $site_link . '" onClick="javascript
:urchinTracker(\'/outgoing/' . $site_client . '\'

"><img border="0" src="/images/buttons/buy_button.jpg"></a>
Would this show up in my google analytics tracking under my outgoing links ? Or am i doing this completely wrong ? Because it takes 24-48 hours to see if google analytics will pick up the change .. i want to get the syntax right.
Thanks!