julianlam / nodebb-plugin-google-analytics

Google Analytics Plugin for NodeBB
8 stars 8 forks source link

UA vs GA #3

Closed akhoury closed 10 years ago

akhoury commented 10 years ago

are you sure this plugin is using the new Universal Analytics (UA) vs Google Analytics (GA)

in the UA help center it's using a different script? analytics.js vs the one you're using ga.js?

ga ua

looking at the source looks like it's using ga.js

Honestly, I'm having trouble understanding htf does this work, if you're using GA script but my site's property is upgraded to UA or vice verca, would it still work?

julianlam commented 10 years ago

Seems fairly seamless to transition. The property I use for the community site expects a universal analytics tracking snippet, but if this plugin uses the old GA code, then it is backwards compatible, at least, and still reports correct usage (I check the "Real-time" tab)

julianlam commented 10 years ago

Using UA now, anyway.