Google analytics stopped working after upgrading the app #946

Closed
opened 2026-01-29 16:52:29 +00:00 by claunia · 1 comment
Owner

Originally created by @Branimir on GitHub (Apr 24, 2024).

  • 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.

Originally created by @Branimir on GitHub (Apr 24, 2024). <!-- Please search existing issues to avoid creating duplicates. --> <!-- Which version of Electron.NET CLI and API are you using? --> <!-- Please always try to use latest version before report. --> * **Version**: Currently using v24.8.8 <!-- Which version of .NET Core and Node.js are you using (if applicable)? --> .NET Core 6.0.408 and node v18.18.0 <!-- What target are you building for? --> * **Target**: win <!-- Enter your issue details below this comment. --> <!-- If you want, you can donate to increase issue priority (https://donorbox.org/electron-net) --> 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.
claunia added the bug label 2026-01-29 16:52:29 +00:00
Author
Owner

@FlorianRappl commented on GitHub (Oct 31, 2025):

Outdated - use ElectronNET.Core and ElectronNET.Core.AspNet.

See Wiki / What's New.

@FlorianRappl commented on GitHub (Oct 31, 2025): Outdated - use `ElectronNET.Core` and `ElectronNET.Core.AspNet`. See [Wiki / What's New](https://github.com/ElectronNET/Electron.NET/wiki/What's-New).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#946