Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Blazor server side #29

Open
fuyunekojima opened this issue Dec 16, 2020 · 4 comments
Open

About Blazor server side #29

fuyunekojima opened this issue Dec 16, 2020 · 4 comments
Labels
question Further information is requested

Comments

@fuyunekojima
Copy link

When I'm monitoring the "real time" of Google Analytics, it looks like the NavLink transitions are not being tracked.
Only when I refresh the page in the browser, the page views are tracked.
Is this normal?
Also, is there a solution?

@isc30
Copy link
Owner

isc30 commented Dec 16, 2020

Hi, are you using the NavigationTracker component next to the router?

image

@isc30 isc30 added the question Further information is requested label Dec 16, 2020
@fuyunekojima
Copy link
Author

Yes, I proceeded as per the README.

@isc30
Copy link
Owner

isc30 commented Dec 27, 2020 via email

@MathieuDR
Copy link

MathieuDR commented May 15, 2021

I'm also using this package, using Blazor Server, I'm pretty new to Google analytics / Tags.
For some reason I don't receive the events / navigations in my google analytics, which is configured using GTAG.

If I look at window.dataLayer I see everything is tracked there, and working as expected. I'm unsure what's going wrong here though.

if I look at window.gtag, the only function there is the datalayer push, am I missing something? @isc30

I see that the GTAG script automatically includes this script as well (as per my configuration in GTAG I suppose) http://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX&l=dataLayer&cx=c perhaps this is why something is going awry?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants