Well after coming across some issues with the last version of code (i.e. when visiting the website, it wasn’t always rendering the google analytics javascript like it should have been, as reflected in the reports on google’s site). For the past two days, it only showed two hits. So I have now reverted back to my original if/else js code. I guess maybe it was getting cached or not finishing on some browsers or something. Strange …