Having uploaded a few Unity web games to itch.io recently I've noticed a nasty problem with the embedding/hosting. Any attempt to upload analytics data (to my server) from the game fails. This is a pretty big problem and basically means I'll have to stop using itch.io for WebGL projects if I can't find a fix.
As far as I can tell, the difficulty arises from the way WebGL asks sites if it's OK to access their resources. My server-side PHP script never runs, because the CORS system designed to prevent unwanted cross-site access says "no". However, I have CORS set up in the script in a way that ought to work. The problem is something at the itch.io end... I'm not quite sure what.
Are there any known workarounds for this problem? If not, any chance of a fix?