We have implemented the Fooman Google Analytics Plus module. The UA tag seems to working properly when checking it with Google's tag chrome plugin. However, it's not tracking subdirectories properly.
The way our Magento site works we have each store view under a subdirectory so ourdomain.com/us_en/ would be United States and ourdomain.com/dk_da/ would be Denmark etc. etc. When I go to the page source and look at what it's sending to Google Analytics, it's not recording the /us_en/ or /dk_da/ or any of the other country subdirectory page views. However, anything that comes after the store view directory...works fine. I have no idea why. In Google Analytics it's showing the same. If I go to All website data and look at Landing pages I see /news/product/something/something/something....but the country code isn't listed first.
We have a ton of views set up with filters to include only a certain subdirectory like /us_en/ but it doesn't work at all for the reasons mentioned above.
Example: Going to ourdomain.com/us_en/ returns this:
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UAcoderemovedforexample','auto');
ga('send', 'pageview', '');
</script>
<!-- End Google Analytics -->
Going to ourdomain.com/us_en/ambassadors and viewing source returns this:
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UAcoderemovedforexample','auto');
ga('send', 'pageview', '/ambassadors');
Going to our homepage without any subdirectory returns this which is the same as if we used a subdirectory.:
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UAcoderemovedforexample','auto');
ga('send', 'pageview', '');
As you can see...it's skipping the /us_en/ subdirectory. To give more insight on how our site works is that when you come to it the first time it asks you your country with a lightbox and then remembers you for future visits (so it auto redirects to the proper store view/subdirectory). Inside of Magento the base URL is set to ourdomain.com across the board.
I'm sure there will be more questions. Any help is appreciated!