Re:Show HN: Mirrorshades – Simple web analytics
by aparks517 on Monday February 20, 2017 @03:04PM
(#13690410)
Thank you! This was very helpful feedback. I added the async attribute to the script tag late in the game and didn't think about how it would interact with this. I've updated the agent script with a more robust method of finding the site ID and am deploying it now.
Alternatively a change in the way that the script element (and the siteId) is detected could be helpful (instead of lines 13, 14):