Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125915 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 2D6AB1A00BD for ; Tue, 5 Nov 2024 21:46:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1730843322; bh=aIw1J+CyvNgV1abeY23CBdb1dGFZilFaBUjOpwc+x6A=; h=Date:Subject:To:References:From:In-Reply-To:From; b=T+0Lj/7Hpc5P9n5t5KO8jv3HZ56hhMouoVE7bp5k30gjZ2xmJzCVvLUWKrbQ8DJE2 ncEbA3a7u9AUoum45aHO+ZJuJcmVPO6oA3Jw6Cy3fkDIistuu2lJhPyAUjxKetWKrB LcM9aJM3T6+rcyldp5ijY+af4mbWC3lfIZfaBUAB9Lbz1q8OMyNj4Ua+HYT8vnl3l/ cr+tKuZMS2pgaEN1hBwfcoDpxOM7NDH6n7UrvONVHJvZsU8NX5yszJtGiBtkw7aBYv C9wXlckEAAYt+40yVrnmyckGC870rjBa7/Gk2gculmZWx95+hsD29wFM6k9OTG+2F5 JDP2JoX3V6aPg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 05130180077 for ; Tue, 5 Nov 2024 21:48:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from filter101.mijn.host (filter101.mijn.host [5.254.117.212]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 5 Nov 2024 21:48:39 +0000 (UTC) Received: from h26.mijn.host ([2a03:5180:7:2:f264:726d:beae:1]) by filter101.mijn.host with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t8RND-00Gj1t-1y for internals@lists.php.net; Tue, 05 Nov 2024 16:46:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=jnvsor.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:To: Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=KMYDDYK2vvGTzfso3hckRj7GBZc5tVWMyk4TxvBpO2o=; b=ylM7DKuVbrmd8u7HaAolsY1gmi 6Azb7P+ZDlUpGHmx3OmUxogXjD6PfkEpLvHCx8p6f4g5s+Vhf70QHvWCojsSfwzy4DouD1ZJJAL9b x8Nxa2JGeTVhn/HyfQUjw7CJjOcLDw/b5g18wBq7FyW1Sse7ZgZewv9zydxf1IeqBk1w7LKwwwR+H yabWfcjluG/AFeqc1W4UtiwFwAKXHIHEJFBQ3QERdcv4PePI02lYjq9f3w0V8mEizQxbzNOaT+rZB 0KPA59mBrV1KEQFNVKfR7L+79ANZi+aTcSxSlXjquJBRlh0oF02GMGjxy1Mwl5dy5br4/AYa9Yr4P NddqaXeQ==; Received: from 2001-1c00-2a11-3600-ef08-db21-1f31-0fee.cable.dynamic.v6.ziggo.nl ([2001:1c00:2a11:3600:ef08:db21:1f31:fee]) by h26.mijn.host with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1t8PV4-0000000FoNV-2zbn for internals@lists.php.net; Tue, 05 Nov 2024 22:46:03 +0100 Message-ID: <3963499a-c9ac-4cbe-b40d-44d62a9240d2@jnvsor.net> Date: Tue, 5 Nov 2024 22:46:02 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] PHP.net analytics To: internals@lists.php.net References: <55320aad-758a-4d06-b1bd-3eac2b5a5f71@app.fastmail.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AuthUser: jnv@jnvsor.net X-Originating-IP: 2a03:5180:7:2:f264:726d:beae:1 X-mijn.host-Spamfilter-Domain: mijn.host X-mijn.host-Spamfilter-Username: 2a03:5180:7:2:f264:726d:beae:1/112 Authentication-Results: mijn.host; auth=pass smtp.auth=2a03:5180:7:2:f264:726d:beae:1/112@mijn.host X-mijn.host-Spamfilter-Outgoing-Class: ham X-mijn.host-Spamfilter-Outgoing-Evidence: Combined (0.27) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT/Ve1LT1qmR+NfGUGiOnaRDPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5ysVpdc69k5cRExqclQnUjJ0xCugIxICoR4SK4EpYmU4+fH zJ6mVE7ewsipSVIfs4ZdmeyuE52Rk3nk/CGlHxC7ABHVTw1lV42ob3hDgXVUNd9a53XVj4zauHkA 5dPfA2liT1v1qMyQrE//74nL7QExz1TPCdlThZkNV1D/EuiBxwRo87oeATC+hGtbNyLqD79d1FgH UTYLOfKNI261jSzBP06AR5g2UA3HqsYlcMd+kU3FrKlNunbw3GCGM2ilT87d7j7SBq6MwVj6lFM1 1vq969CCDfOKd5FAllGsCCg+XysEJGdAAQBUErof8jiNd96dw+XGlIW1bb6iLQaqIs5B5d+hLlId aCW6xwdNo4OxtwDY4SpTbUhcsSYcTjOB+M5x3dBtceKX2dWiEm+7oHm9xBEeGmns8QeFADnQDTrf rserYKXCRGR18OfTWrHpf6kV0xJ411PPMPVAmEodS0dereVcnHDGPTHJJ/+YucHWLMPH12Bh87aa 4YfZs104p87OifVovUq7COge14oi3y0trSOIPpeqwlm2NDGXIJ2x7Gb/A04ajlC35kGJDTNemOAU F4b5hgtV0zUlyPQZsB4RgiPi/ksa+HGUTIc6OyqqhZLNR5od3ShJ8IN9+FxNq9uxaEK0IU2UoAQ9 iXTmfYh79hnDZXV2CQwQLTmDKYV0FD8YVhEYJh8avNsxASq4s5/DEd6Yplvh+oay7O24oTPnqe0q vr5yub6t9+RpDpmA6DFgqFPE6oH+gQdOP9ZXUa7jug5nmpYBfk+Sa7HfYDoFK64ACHgDGgV8xhn+ dv9OLzZezKBI0p6sXqxigCqRZAiRTstqUvqmSxmBUyP+qDtppB6tCrNkGUFkTXJE/eyznchqeebK PhN7F0BXe0tvbxD1H/aAwarQpYDOYx/6JtUOcvGmWjM+n/ZxPLGfNEFyQjyvnjtVkDRQWv9qTHUR C+0yXiXZiygtp/+aJr13nBiZGVghYeoeFQXaLJLUHBeObsxUYDzS31QKbDU3aba2yHym0mEV/20k j9ngPxZH4PAZ X-Report-Abuse-To: spam@filter101.mijn.host From: jnv@jnvsor.net (Jonathan Vollebregt) On 11/5/24 6:29 PM, Larry Garfield wrote: >> Overall I feel like the signal we can get from using a JS tracker >> specifically is comparatively low to the point it's not actually worth it. > > Some more things a client-side tracker could do that logs cannot: > > * How many people are accessing the site from a desktop vs mobile? > * What speed connection do people have? > * How many people are using the in-browser Wasm code runner that is currently being worked on? cf: https://github.com/php/web-php/pull/1097 For the first there's a user agent (Again, matomo-php-tracker) as well as media queries for transparent tracking with or CSS > Even if someone wanted to block it, meh. We'd still be getting enough signal to make informed decisions. Firefox famously keeps killing features thinking no-one uses them because the people who use them are savvy enough to turn off tracking. Even if you do use client side tracking that's a good argument to have server side tracking anyway as a fallback. Transparency is a big deal. Server side analytics are ok because PHP devs know what goes into an HTTP request. (And it's fairly limited in scope by definition) We don't know what goes into a request sent from a black box blob of minified JS. If your JS just consisted of `if(wasm) fetch()` I would be fine with that, but it's actually a 66kb minified JS file. Perhaps you could just start with server side tracking and see how it goes? I'd be much happier with client side tracking in future if it's voted on one metric at a time rather than a big opaque file.