Hi!
We are using Matomo as an on prem installation on a Windows server. Our clients want to login using Windows authentication and that works just fine. The only problem is that the js file under /js/container_xxxxxx.js cannot be accessed from the site collecting data with logging in.
The snippet is like this:
<script type="text/javascript">
var _mtm = window._mtm = window._mtm || [];
_mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='http://server/js/container_rLFiMB1X.js'; s.parentNode.insertBefore(g,s);
</script>
If I remove Anonymous authentication the snippet requiers login and that we don’t want. I have tried to enable Anonymous authentication on the js folder and files but I still get the login prompt when accessing the site.
How can we solve this?
Thanks!
/Kristoffer