ElectronNET/Electron.NET

Google analytics stopped working after upgrading the app

Branimir opened this issue · 1 comments

  • Version:
    Currently using v24.8.8

.NET Core 6.0.408 and node v18.18.0

  • Target:
    win

With the upgrade of an electron app, there is no any events going out to google analytics. This used to work in the previous version (we used quite old ElectronNET.API v7.30.2. Switching back to the old versions resolves the issue, but there are some other issues which were the reason for upgrade.

Steps to Reproduce:

  1. Create an app that uses http server and loads app that uses GTM (where google analytics works)
  2. Inspect network tab, there is no any network calls with "collect" endpoint (that are present when web version is used).

We spent few days trying to figure this out, trying to debug the app and the GTM container, setting GA cookies manually and similar, but no progress.

Any help with this would be appreciated.