In the HTML on all pages (for logged-in users):
"wgEchoInteractionLogging": true, "wgEchoEventLoggingVersion": "1.12" "wgWikiId": "testwiki"
These are static and not user or page specific, as such they would be better moved out of the HTML in the critical path, to something async (e.g. the startup module config) or (even better) bundled with the module bundle that needs it.