Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

https://ssl.google-analytics.com/ga.js Label not found error with MS Edge

On 8th March 2017 I started to see js errors coming out of Google analytics with the error message "Label not found" being caught by my window.onerror handler. It seems to only affect the MS Edge browser. Has anyone else seen this problem?

like image 437
robd Avatar asked Dec 08 '25 09:12

robd


1 Answers

I was able to reproduce this intermittently using a clean install of MS edge using the stable edge virtual machine (v 14.14393) provided by Microsoft.

In the end I upgraded from the legacy ga.js integration method to the universal one using analytics.js as per these instructions:

https://developers.google.com/analytics/devguides/collection/upgrade/reference/gajs-analyticsjs

This fixed it, so I believe this was a bug introduced by Google analytics on or around the 8th March, but that only affected old ga.js integration.

like image 182
robd Avatar answered Dec 11 '25 02:12

robd



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!