Hello,
I can tracking outgoing links now for html links. How can I track outgoing links in flash with jquery or something else?
Best Regards
Code:
<html>
<head>
<meta charset="utf-8">
<title>Tracking outgoing links with JavaScript and PHP</title>
</head>
<body>
<p><a href="http://www.google.com/">Test link to Google</a></p>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script>
$(function() {
$('a').click(function() {
$.post('http://www.example.com/trackol.php', { result: 'click' }, 'html');
});
});
</script>
</body>
</html>
from: http://stackoverflow.com/questions/2077823/tracking-outgoing-links-with-javascript-and-php