I have implemented GTAG for logging my game events. It works fine when I launch the project in Playcanvas engine. But when I host the same project on itch.io server, the data does not get registered in the real time analytics on firebase console. I could not see any bug in the logs for the same. I have added the following script in my project.
I’m don’t think PlayCanvas can break this any way. Can you check if network requests are being sent correctly towards the Google servers? I gather they will be http requests and may be visible in the Network tab.
Is there any chance the itch.io server requires special setup and/or authentication with Google Analytics?