HTTPArchive / custom-metrics

Custom metrics to use with WebPageTest agents
Apache License 2.0
19 stars 21 forks source link

Privacy - IAB Global Privacy Platform #138

Closed max-ostapenko closed 3 months ago

max-ostapenko commented 3 months ago
  1. Adoption of Global Privacy Platform is gaining momentum. Adding a detection of a new type of privacy compliance mechanisms.

  2. Additionally:

    • restored a comment in the WPT test code
    • removed logging details if feature not present to have a cleaner and smaller result

Test websites:

github-actions[bot] commented 3 months ago
Custom metrics for https://almanac.httparchive.org/en/2022/ WPT test run results: http://webpagetest.httparchive.org/results.php?test=240725_1R_3 Changed custom metrics values: ```json { "_privacy": { "privacy_wording_links": [ { "text": "\n Chapter 13: Privacy\n " }, { "text": "\n Chapter 13: Privacy\n " } ], "iab_tcf_v1": { "present": false }, "iab_tcf_v2": { "present": false }, "iab_gpp": { "present": false }, "iab_usp": { "present": false }, "navigator_doNotTrack": false, "navigator_globalPrivacyControl": true, "document_permissionsPolicy": false, "document_featurePolicy": true, "referrerPolicy": { "entire_document_policy": null, "individual_requests": null, "link_relations": null }, "media_devices": { "navigator_mediaDevices_enumerateDevices": false, "navigator_mediaDevices_getUserMedia": false, "navigator_mediaDevices_getDisplayMedia": false }, "geolocation": { "navigator_geolocation_getCurrentPosition": false, "navigator_geolocation_watchPosition": false }, "fingerprinting": { "counts": { "getimagedata": 2, "prefers-reduced-motion": 4, "localstorage": 2, "gettimezoneoffset": 5, "devicememory": 5 }, "likelyFingerprintingScripts": [ "https://almanac.httparchive.org/static/js/almanac.js?v=096e38f74c72532860651812978526c5", "https://almanac.httparchive.org/static/js/send-web-vitals.js?v=b7224f484fe762e075d4838286ddb066" ] }, "request_hostnames_with_cname": { "almanac.httparchive.org": [ "ghs.googlehosted.com" ] }, "ccpa_link": { "hasCCPALink": false } } } ```
Custom metrics for https://www.iubenda.com WPT test run results: http://webpagetest.httparchive.org/results.php?test=240725_6C_4 Changed custom metrics values: ```json { "_privacy": { "privacy_wording_links": [ { "text": "Privacy and Cookie Policy Generator" }, { "text": "Privacy Controls and Cookie Solution" }, { "text": "More on global privacy laws" }, { "text": "Privacy and Cookie Policy Generator" }, { "text": " Your Privacy Choices" }, { "text": "Consent Database Privacy Notice" }, { "text": "Privacy Controls and Cookie Solution Privacy Notice" }, { "text": "privacy policy" } ], "iab_tcf_v1": { "present": false }, "iab_tcf_v2": { "present": false }, "iab_gpp": { "present": true, "data": { "gppVersion": "1.1", "cmpStatus": "loaded", "cmpDisplayStatus": "visible", "signalStatus": "not ready", "supportedAPIs": [ "2:tcfeuv2", "7:usnat" ], "cmpId": 123, "sectionList": [ 7 ], "applicableSections": [ 7 ], "gppString": "DBABL~BVAoAAAAAAA.QA", "parsedSections": { "usnat": { "Version": 1, "SharingNotice": 1, "SaleOptOutNotice": 1, "SharingOptOutNotice": 1, "TargetedAdvertisingOptOutNotice": 0, "SensitiveDataProcessingOptOutNotice": 0, "SensitiveDataLimitUseNotice": 0, "SaleOptOut": 2, "SharingOptOut": 2, "TargetedAdvertisingOptOut": 0, "SensitiveDataProcessing": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "KnownChildSensitiveDataConsents": [ 0, 0 ], "PersonalDataConsents": 0, "MspaCoveredTransaction": 0, "MspaOptOutOptionMode": 0, "MspaServiceProviderMode": 0, "SubsectionType": 1, "Gpc": false } } } }, "iab_usp": { "present": true, "privacy_string": { "version": 1, "uspString": "1YN-" } }, "navigator_doNotTrack": true, "navigator_globalPrivacyControl": true, "document_permissionsPolicy": false, "document_featurePolicy": false, "referrerPolicy": { "entire_document_policy": null, "individual_requests": null, "link_relations": null }, "media_devices": { "navigator_mediaDevices_enumerateDevices": false, "navigator_mediaDevices_getUserMedia": false, "navigator_mediaDevices_getDisplayMedia": false }, "geolocation": { "navigator_geolocation_getCurrentPosition": false, "navigator_geolocation_watchPosition": false }, "fingerprinting": { "counts": { "localstorage": 70, "todataurl": 1, "sessionstorage": 14, "gettimezoneoffset": 2, "maxtouchpoints": 3, "ontouchstart": 11, "navigator.language": 2, "getimagedata": 2, "navigator.vendor": 1, "navigator.userlanguage": 1, "prefers-reduced-motion": 8, "screen.width": 1 }, "likelyFingerprintingScripts": [ "https://www.iubenda.com/en/", "https://www.iubenda.com/assets/site-cf2e54272937581acbee335dc3d716d6d28e9c03c46e410e620af7904aa52d44.js", "https://www.iubenda.com/assets/builds/growthbook-a96dfc7c9ebe18d055a1.js", "https://cdn.iubenda.com/cons/iubenda_cons/core-ba0be442b05486c8a18929a77884c10c.js", "https://cdn.iubenda.com/cookie_solution/iubenda_cs/1.64.0/core-en.js", "https://cdn.elev.io/sdk/main/v4/1714634144204/elevio-main.js" ] }, "request_hostnames_with_cname": { "www.iubenda.com": [ "www-iubenda.b-cdn.net" ], "cs.iubenda.com": [ "cs-iubenda.b-cdn.net" ], "cdn.iubenda.com": [ "cdn-iubenda.b-cdn.net" ], "cdn.elev.io": [ "dy8wyl92rt4zl.cloudfront.net" ], "idb.iubenda.com": [ "hits-iubenda.b-cdn.net" ], "ipa.elev.io": [ "ipa-alb-20180423-772954875.us-east-1.elb.amazonaws.com" ] }, "ccpa_link": { "hasCCPALink": true, "CCPALinkPhrases": [ "your privacy choices" ] } } } ```