: Google pre-rendering causing double and triple events Is it possible to detect google chrome and firefox prerendering on the server side, or in .htaccess, and defer the prerendering for the purpose
Is it possible to detect google chrome and firefox prerendering on the server side, or in .htaccess, and defer the prerendering for the purpose of monitoring traffic and website events, or do I need to move my website event tracking into javascript. =/
I am using laravel and angular js.
More posts by @Berryessa370
1 Comments
Sorted by latest first Latest Oldest Best
Unfortunately, it seems as though different browsers will act differently.
Firefox: Will send the header X-moz: prefetch whenever a page is "pre-fetched."
Chrome: You're out of luck, simply because it forces you to use the Page Visibility API, which is JS-based. The term "pre-rendering" applies exclusively to Chrome, as Google seem to be doing their own thing on this one.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.