How to disable eager loading? #37531
|
I'm using Gatsby I've recently migrated my website from Netlify to self hosting with Nginx. I want to know on which page a viewer currently is using nginx logs. However, the problem for me is that when a user visits my home page gatsby sends Is it possible to prevent this so that a request to a page is only made when the user actually visits? I understand this makes my website slightly slower to navigate, but I want to experiment with it. |
Replies: 1 comment 1 reply
|
Hello ! Why not use a dedicated analytics framework, like Matomo or GA ? |
Hello !
Basically, you could prevent the behavior of Gatsby Link Api using the basic
<a>anchor tag instead of<Link>– andwindow.location.href=instead ofnavigate()… but you loose all the fluidity and preload mechanisms.Why not use a dedicated analytics framework, like Matomo or GA ?