electron-google-analytics icon indicating copy to clipboard operation
electron-google-analytics copied to clipboard

GA 4 measurement ID can be instead of UA-XXX id

Open Brijeshlakkad opened this issue 5 years ago • 1 comments

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.

Brijeshlakkad avatar Nov 10 '20 12:11 Brijeshlakkad

I have created a library dedicated to GA4 that currently supports the event function.

https://www.npmjs.com/package/electron-google-analytics4

hajeonghun avatar Jun 21 '23 23:06 hajeonghun