• Gurdeep

    27 June 2023 at 4:09 pm

    Hey there,

    Rest assured you’re not alone in your dilemma. Although there doesn’t seem to be a specific .Net NuGet package for Google Analytics 4 out there, you can still manage to work with it from a different angle.

    It’s noteworthy to delineate that a .Net package will likely be helpful only if you’re after server-side tracking via the measurement protocol. And from what Google has put forth, it’s not particularly tailored for that. I even wrestled with the challenge myself and ended up crafting a personal solution for cross-tracking some events.

    Nevertheless, the main tracking isn’t as dependent on it. Instead, directing your attention to implementing GA4 in JavaScript might be the way to go. You’d be looking at using gtag, Google Tag Manager, or server-side Google Tag Manager.

    Hope this gives you a start in the right direction. Best of luck with your project!