I am trying to track javascript errors in Google Analytics (analytics.js) but without Google Tag Manager, since I am using another TMS.
I have tried the codes given by @lisburnite here : Logging javascript errors within Google Analytics
But they do not seem to trigger any errors hits. The question was from 2016, so any more recent codes?
Thanks !