electron-google-analytics
electron-google-analytics copied to clipboard
GA 4 measurement ID can be instead of UA-XXX id
Hello,
I wanted to use Google Analytics 4 in my electron app, but it seems that because file:// protocol I can not use it as expected.
Proposed solution: one of the solutions can be UA-XXXX id can be replaced with GA-XXXXX to let developers use Google Analytics measurement ID instead of Universal Analytics Id.
More information can be found here.
I have created a library dedicated to GA4 that currently supports the event function.
https://www.npmjs.com/package/electron-google-analytics4