Lighthouse User Agent | WordPress.org

[ad_1]

Hello,

Google stopped passing an identifiable User-Agent string because of developers gaming the system in order to get better scores, thus impressing clients while their actual website was still slow.

Therefore we can no longer reliably remove Google Lighthouse hits from Koko Analytics, unless you include an easily detectable identifier in the URL yourself and write some code to instruct Koko Analytics to not record hits to this URL.

Here’s a sample snippet on how to disable tracking for certain URL’s: https://github.com/ibericode/koko-analytics/blob/master/code-snippets/disable-tracking-on-certain-urls.php

I hope that helps.

Danny

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer