Commit c83b8e40 authored by joshua-gould's avatar joshua-gould

check to see if analytics is already loaded

parent cfb624fb
......@@ -32,6 +32,9 @@ morpheus.Util.loadTrackingCode = function() {
if (typeof window !== 'undefined') {
if (morpheus.Util.TRACKING_CODE_LOADED) {
return;
} else if (typeof ga !== 'undefined') {
morpheus.Util.TRACKING_CODE_LOADED = true;
return;
}
(function(i, s, o, g, r, a, m) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment