Bug 14643 - Google Analytics broken since launch
: Google Analytics broken since launch
Status: CLOSED FIXED
Product: MySqueezebox.com
Classification: Unclassified
Component: Web UI
: Prod
: All All
: P1 critical (vote)
: Hotfix
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-07 10:27 UTC by Matthew J. Martin
Modified: 2009-10-09 09:36 UTC (History)
2 users (show)

See Also:
Category: Bug


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew J. Martin 2009-10-07 10:27:12 UTC
Google Analytics shows no traffic since launch, this appears to be due to the wrong tracking code:

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-5090821-1");
pageTracker._trackPageview();
} catch(err) {}</script>


That is the verbatum from the Google Analytics account. Current implementation shows "UA-5090821" which is wrong.
Comment 1 SVN Bot 2009-10-07 10:42:43 UTC
 == Auto-comment from SVN commit #7610 to the network repo by michael ==
 == https://svn.slimdevices.com/network?view=revision&revision=7610 ==

Fixed Bug: 14643
Description: fix google analytics ID

Matthew - please tell me if more than that small change to the ID is needed.
Comment 2 Matthew J. Martin 2009-10-07 13:07:40 UTC
Great, thanks Michael. I'll confirm tomorrow when the new data comes through and confirm fixed.
Comment 3 James Richardson 2009-10-09 09:36:35 UTC
This bug has been fixed in the latest release of MySqueezeBox.com (formerly  known as SqueezeNetwork) Check out the new site, if you haven't already.

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.