Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125893 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 B781D1A00BD for ; Fri, 1 Nov 2024 23:10:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1730502762; bh=zWjGqQh52UnP+oU1lbNbtolF5uKRtZxmqiJ8sqbLf+Y=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Uk/edt5zoCAOmZ55tUWHBSJSGl8Ayk1Zwb7IadHBhTWduX04eLRpekpNiUciFfc5y BKJ+hinYwHmjDbgBnMQEBTRDxgZXJKUzxLRJ+G0QmChL//XFkoqb3BgKEx11hCkTg2 FTdMJ/FvQ8oo5E7a9bD8Z2kpa94+bb3vn5VkogUvE1MwRkiZmyLltX9PT2V01iSG7S 1+LJsbdQ2RebJ/GduWrm24I6uJo1Bqa2L7MWCVVk3B9bI62TAC99Oe41OHD94yfaK6 x/je1/DMZHwz0iOYIUFIXwy30rD3LVKOpS8cAawAWZbwj8PMbVLnQiTs7lWSPbF1k1 UtuFHoMFF1GPg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 67C9A18006C for ; Fri, 1 Nov 2024 23:12:41 +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.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_50, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05olkn2109.outbound.protection.outlook.com [40.92.89.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 1 Nov 2024 23:12:40 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NFZpokzBAGsq2PAxSQS2Xibg4ZkM0rhEMWssj48gNiTUC8WUT7MJ7AV2oDjmaeV7zTzGOJHHhnTpk4FYNVeDK2mRsDLG8sqPgot8XzrqiEFHl7lXyA1xXIxiTc4rBp9xmZU0ewT4sr6i6mrmKmXdomFUPOFqQyNsbkhCWOv6RvQoiepN9v6jPny8Ntl/y9kaIuYULFbNk2nn6zHTTytv/+yD6ArgWDnIf8FJMz6ZE/Jzl4X0SjIuzKpnhcZ8hCqf0krf6U4nJfWz/ypyi0On5MX6mZIXNfBJO7Z2dCwpZdSRmfkbnPA4XFu1yjT7FaAfy3GhvKTUk2FQKMkoyO+2FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SQ+eRFTCYh06JLDJG3rgaGKktAwCqJGfUtVtENqxwAA=; b=a804bcPQGvIukAFwwO8dOnCccpPKGBsTk4fy7YTkTqyZ4ybXLN315tBI05fPU0Z2TgWsPchz80ZKbk09Og3BePs00DyAEP1rRMcAgjzRxUkG4t84oFzmMz4H4yvqSn2zU4hUq7mcMZpBRrVsGdu9yUxL9XAeVIge9yR/V3oL8+gMfbxzw4K0PIzzxVL7rHNG9NKowF71P+8GWcnjfmcKJnCFLrj/5/GDJH9Pj3MXBryv2neTEudJxyK7f3oDuWmb8avxEopCILiMZLcuJCWRTEd4WV1J3rmiQJzJUVvV6cU4qFwsJCa52mcLGmPepCYDm7rMuT37U7PAMIs3X+Mo6w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SQ+eRFTCYh06JLDJG3rgaGKktAwCqJGfUtVtENqxwAA=; b=RRFNyU8rWkszqfyXaoUADbZNSq4RsfhSgVfJV26QpUt1dFKugl70mdqDk3SlSE315Brq3kC8T7VU+/bMdWdUjBrKFr2D6wa5JGRSmXCKkU0n+oj7oYkyI5V5nkrgmfO9lCqf/Nz+KeG4xrce9MKxkI+sRYLFegHzjYKBnJWjMIV3b83w1xw1yfqwH2EHpE4KaP/3PZq+CjPbU6kD5Wnr0OqDgK1+3GSI70UUm0u7QvvIpttk6i+nFjgoN1WIc/fHQtwfFfOJ50tiD2Y7Fqb5R28I7JAkQQpHsIPAtA9h+LtD4hjmjq/fcjbg5HHRsa48XJ24SiaJ5s3dnfbztJnLhg== Received: from AM8P250MB0170.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:321::21) by PR3P250MB0226.EURP250.PROD.OUTLOOK.COM (2603:10a6:102:179::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.32; Fri, 1 Nov 2024 23:10:08 +0000 Received: from AM8P250MB0170.EURP250.PROD.OUTLOOK.COM ([fe80::651e:bbd2:b18a:80ff]) by AM8P250MB0170.EURP250.PROD.OUTLOOK.COM ([fe80::651e:bbd2:b18a:80ff%4]) with mapi id 15.20.8093.027; Fri, 1 Nov 2024 23:10:08 +0000 Message-ID: Date: Sat, 2 Nov 2024 00:10:08 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] PHP.net analytics To: Larry Garfield , php internals References: <55320aad-758a-4d06-b1bd-3eac2b5a5f71@app.fastmail.com> Content-Language: en-US In-Reply-To: <55320aad-758a-4d06-b1bd-3eac2b5a5f71@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: FR4P281CA0119.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:bb::14) To AM8P250MB0170.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:321::21) X-Microsoft-Original-Message-ID: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM8P250MB0170:EE_|PR3P250MB0226:EE_ X-MS-Office365-Filtering-Correlation-Id: 908cf071-6b83-4715-d2a9-08dcfaca53ec X-Microsoft-Antispam: BCL:0;ARA:14566002|7092599003|5072599009|15080799006|461199028|8060799006|19110799003|6090799003|56899033|1602099012|10035399004|4302099013|440099028|3412199025; X-Microsoft-Antispam-Message-Info: =?utf-8?B?dUdRbTI5U2tVOVkyQ2dkbytVT0VoUWpDWFBJb09QRmdFK3lXYzVWMjVWcmhm?= =?utf-8?B?UDJwZlg4Nm5PT0JJaVlScnUzT1djSE9laFZ2cHRFOVdPVlYvQ0UvQWc4TmhK?= =?utf-8?B?bzVDTXd1dGVCQlNqS3huZHVZbVR2WWE1dXFZRWlwc1U1MTdlUXJYS0tuQ3gw?= =?utf-8?B?a2VTMjN1eTcrd0E3blhZYkJCcHhEZ3Q0dlQ5OWxVdVNrb3g5K0krckdZUGNV?= =?utf-8?B?S0tBVHZLelUza3lVK3ZaUEtJVjdIWUZBQ3Qrc0plSHkzOEpUbnp0SVA0ZGsr?= =?utf-8?B?UjdYYTQyK2FGcDl3MlBWditaRGRZaitudGRld3ltQUhNenpNcFhOQmE4ZnVh?= =?utf-8?B?Ym95YjRKM2c5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NhMkpjNEdpQTVhZ25OVkNx?= =?utf-8?B?VDZLcm9pQ2Rrak1zVU5PSnBLelIxTVc4RktRaVF2MlFMaFB1WjdGalJFbVkr?= =?utf-8?B?cm1ocy8vWm5jdTJFLzAvcVhiV21HdmUreFdVQVpRaHNmK1hnTldzM1hlcldN?= =?utf-8?B?M0NBbnBSTzN3eEVMQWgvWEttTGZCVU1FOTZvM3NINlUvVUtOY2YrNi9wUW1w?= =?utf-8?B?UFJFcUtOSUh6dmFidUhHK1U5cHBsWWFmUk1IRDBiaFRUc2Vydk9xMS9SQ0tS?= =?utf-8?B?ZmJJWkhwMGFrTy94MXZ5YXkySXNxbjFNSUlLWUFFYi9QZ244NmI3d2dnRXFv?= =?utf-8?B?Ny9BTnpFOG5GU25oNm8wSTIvaFBQL3pyTXV6YXNOcHl1UDkxcW8reTcrcXRU?= =?utf-8?B?ekFzaXMxVUlINi9hWkN3ZzdFVEdPS0JaOStWVmFsRjhkS0t6NGFOSU9wZHFz?= =?utf-8?Q?gvsZrU9cHyKyqcsmiA=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-e3d53.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 908cf071-6b83-4715-d2a9-08dcfaca53ec X-MS-Exchange-CrossTenant-AuthSource: AM8P250MB0170.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2024 23:10:08.2132 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3P250MB0226 From: bobwei9@hotmail.com (Bob Weinand) On 1.11.2024 22:41:29, Larry Garfield wrote: > In a similar vein to approving the use of software, Roman Pronskiy asked for my help putting together an RFC on collecting analytics for PHP.net. > > https://wiki.php.net/rfc/phpnet-analytics > > Of particular note: > > * This is self-hosted, first-party only. No third parties get data, so no third parties can do evil things with it. > * There is no plan to collect any PII. > * The goal is to figure how how to most efficiently spend Foundation money improving php.net, something that is sorely needed. > > Ideally we'd have this in place by the 8.4 release or shortly thereafter, though I realize that's a little tight on the timeline. Hey Larry, I have a couple concerns and questions: Is there a way to track analytics with only transient data? As in, data actually stored is always already anonymized enough that it would be unproblematic to share it with everyone? Or possibly, is there a retention period for the raw data after which only anonymized data remains? Do you actually have a plan what to use that data for? The RFC mostly talks about "high traffic". But does that mean anything? I do look at a documentation page, because I need to look something specific up (what was the order of arguments of strpos again?). I may only look shortly at it. Maybe even often. But it has absolutely zero signal on whether the documentation page is good enough. In that case I don't look at the comments either. Comments are something you rarely look at, mostly the first time you want to even use a function. Also, I don't buy the argument none of that can be derived from server logs. Let's see what the RFC names:     Time-on-page     Whether they read the whole page or just a part     Whether they even saw comments Yes, these need a client side tracker. But I doubt the usefulness of the signal. You don't know who reads that. Is it someone who is already familiar with PHP and searches a detail? He'll quickly just find one part. Is it someone who is new to PHP and tries to understand PHP. He may well read the whole page. But you don't know that. Quality of documentation is measured in whether it's possible to grasp the information easily. Not in how long or how completely a page is being read.     What percentage of users get to the docs through direct links vs the home page That's something you can generally infer from server logs - was the home page accessed from that IP right before another page was opened? It's not as accurate, but for a general understanding of orders of magnitude it's good enough.     If users are hitting a single page per browser window or navigating through the site, and if the latter, how? Number of windows needs a client side tracker too. Knowing whether the cross-referencing links (e.g. "See also") are used is possibly relevant. And also "what functions are looked up after this function".     How much are users using the search function? Is it finding what they want, or is it just a crutch? How much is probably greppable from the server logs as well. Whether they find what they want - I'm not sure how you'd determine that. I search something ... and possibly open a page. If that's not what I wanted, I'll leave the site and e.g. use google. If that's what I wanted, I'll also stop looking after that page.     Do people use the translations alone, or do they use both the English site and other languages in tandem?     Does anyone use multiple translations? That's likely also determinable by server logs. And yeah, server logs are more locked down. But that's something you can fix. I hope that the raw analytics data is just as locked down as the server logs... I get that "cached by another proxy" is a possible problem, but it's a strawman I think. You don't need to be able to track all users, but just many. 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. Bob