Count inner link as outer link

Hello,

Here is the problem… In the site www.example.com I have some links like www.example.com/red/hash which are as you see inner links, but when the links goes to “red” action it redirects user to the outer site with identification number called “hash”. I want to count the clicks on these links as outer links and want to know from where it is clicked, from which part of site.

Maybe there are any suggestions how to make for example another type of outer links from my inner links with “red” in the path (“links” and “downloads” already exists buy default) and track them as outer links. The Goals for me is not a good decision.

Is there any possibility to do this and solve my problem?

Thanks.

See http://piwik.org/docs/javascript-tracking/