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

Ability to turn off Track Page View auto triggers #96

Closed
mentorfloat opened this issue Aug 7, 2021 · 4 comments
Closed

Ability to turn off Track Page View auto triggers #96

mentorfloat opened this issue Aug 7, 2021 · 4 comments

Comments

@mentorfloat
Copy link

NavigationManager.LocationChanged += NavigationManager_LocationChanged;

Any chance you'd consider allowing us to turn off the automatic Track Page View on route changes?

It's a minor improvement and should allow more flexibility for different use case.

@IvanJosipovic
Copy link
Owner

Hey,

Yes I would. Let me know if you're willing to PRs this enhancement or if you need me to implement this change.

Thanks,
Ivan

@ssanderlin
Copy link

Curious: why is the component doing this when the enableAutoRouteTracking option appears to do the same thing?

IvanJosipovic added a commit that referenced this issue Oct 8, 2021
* feat: Ability to turn off Track Page View auto triggers #96
* feat: Update Tests to validate Http Requests
* chore: Switched Tests to Microsoft.Playwright
@IvanJosipovic
Copy link
Owner

This feature has been implemented in version 1.3.0

There is a new parameter introduced which can disable the auto route tracking.

builder.Services.AddBlazorApplicationInsights(enableAutoRouteTracking: false);

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

No branches or pull requests

3 participants