-
Notifications
You must be signed in to change notification settings - Fork 43
Page tracking event not firing on first load of site #72
Copy link
Copy link
Open
Description
On initial load of the site, starting from any page, no page event appears in network tab.
On subsequent navigations, there is an event:
Not sure if I'm doing something wrong, or blazor-analytics has an issue with how it runs on first load.
I'm using Dotnet 10 InteractiveAuto and have set it up like so:
Router.razor
<Router .... />
<NavigationTracker @rendermode="RenderMode.InteractiveAuto" />App.razor
<body class="bg-gray-50 text-gray-800">
<Routes />
<environment names="Development">
<script src="_framework/aspnetcore-browser-refresh.js"></script>
</environment>
<script src="@Assets["_framework/blazor.web.js"]" defer></script>
<script src="@Assets["_content/Blazor-Analytics/blazor-analytics.js"]" defer></script>
</body>Any help appreciated - thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels