scottwainstock/pbm — pull request #272 by RyanTG (2014-07-16 06:27:31+00:00)
Title: fresh google analytics tracking code

Okay, I used an analytics debugger that's in chrome. The live site right now is seeing an error. My localhost was not (with this update). First, I removed the call to the helper (that helper was preventing localhost hits from being tracked). Next, I tried two different versions of the tracking - one is the old way we used to do it, and the other is the latest suggestion by GA.

Here are the results in the debugger. https://gist.github.com/RyanTG/3e6f52935c94a30d65c7
The first is the new tracker, and below that is the old tracker. This is not easy to read, especially because many of the lines end with "_debug.js:9" and I didn't bother to clean it up. Anyway, I'm sharing this gist because 1) there are no errors, and 2) the OLD version seems to have more information!

I'm NOT completely confident this will work. And that's because I'm trying to track the site visitors in real-time, and it's not recording me (but this could be an issue with GA not recording localhost users very easily)... we'll see.