It's been driving me insane for quit a while now. I enabled swfaddress in the gallery options and placed the Google Analytics code inside the SEO part of the admin but Analytics still count the gallery as one page. As a result I cannot see how many people clicked a specific photo which is what I want to do.
Any suggestion on what I have to do to correct it? This is the code I use:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'my_code']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
I use the latest 2.7 beta. It hasn't been working for a while now (2.6 and 2.5 didn't work either). I want to do more with marketing so I need this data.