If javascripts from Google Analytics, Google Tag Manager and/or other javascripts doing a kind of web analytics, are implemented with a HTTP/2 push - does it, and if yes, how, manipulate/falsify the measuring results?
Shouldn’t have any effect.
Push is about delivering assets (e.g. javascript files) to the web browser before they are asked for. Google Analytics (GA) and Google Tag Manager (GTM) only do stuff when the scripts are executed - so getting the GA file for example via push, pull, or loaded from cache doesn’t matter until that file is run and it registers a hit, or loads the tags that register the hits.
In fact, at a technical level, HTTP/2 push doesn’t even push any files directly to the page, but pushes it to a push cache, and which the browser checks first before requesting a file.
So the only change should be that, if you have set up HTTP/2 push correctly, then the browsers that support that might be able to execute them fractionally earlier as the pushed file should hopefully already be downloaded when it’s needed. This might, for example, register more a accurate start time on the page (though to be honest it shouldn’t be massively different for the level of accuracy that these tools give). However, on the flip side, if you are currently inlining the GA code and change this to an external (pushed) js file then you might lose a tiny bit of time as there are still some overheads to processing a separate file, even if it is pushed to arrive before it’s needed. But again this time used shouldn’t really be noticed.
Saying that you need to be careful with push and shouldn’t waste users bandwidth pushing assets they already have (e.g. if you push the GA js file with every request even though it’s cached). Won’t affect the accuracy it’s just a waste of bandwidth.
Thanks, Barry