diff --git a/js/sim.js b/js/sim.js index 80df1e1ab..f0f107e1c 100644 --- a/js/sim.js +++ b/js/sim.js @@ -2866,6 +2866,9 @@ if (window.history && history.pushState) { if (document.location.pathname !== Config.locPrefix + urlLoc) { try { history.pushState(null, null, Config.locPrefix + urlLoc); + if (_gaq) { + _gaq.push(['_trackPageview', Config.locPrefix + urlLoc]); + } } catch (e) { // Throws insecure operation when running on local filesystem. }