ลดระยะเวลาในการบล็อกโฆษณา JS
ภาพรวม
การตรวจสอบนี้จะวัดระยะเวลาในการบล็อกที่ระบุได้ว่ามาจากสคริปต์ที่เกี่ยวข้องกับโฆษณา ซึ่งจะบันทึกเวลาที่เทรด JS ถูกบล็อกโดยสคริปต์ที่เกี่ยวข้องกับโฆษณาเป็นเวลานานพอที่ผู้ใช้จะสังเกตได้ เนื่องจากอาจส่งผลโดยตรงต่อความล่าช้าของอินพุตหรือการโหลดเนื้อหา
การแนะนำวิดีโอ
ปัจจัยที่สำคัญที่สุดของระยะเวลาในการบล็อกโฆษณา JS ก็คือจำนวนโฆษณาที่มีการโหลดในคราวเดียว คำแนะนำของเรามีดังนี้
หากต้องการดูข้อมูลเพิ่มเติมเกี่ยวกับวิธีกำหนดระยะเวลาในการบล็อก โปรดดูบทความนี้เกี่ยวกับเวลาในการบล็อกทั้งหมด
สคริปต์จะถือว่ามีความเกี่ยวข้องกับโฆษณาก็ต่อเมื่อสคริปต์ดังกล่าวเป็นแท็กโฆษณาหรือได้รับการติดป้ายกำกับว่าเป็นสคริปต์ "โฆษณา" โดยเว็บไซต์ของบุคคลที่สาม
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-06-26 UTC
[null,null,["อัปเดตล่าสุด 2024-06-26 UTC"],[[["This audit identifies the time users experience delays due to ad scripts blocking the main thread, which negatively impacts loading speed and responsiveness."],["The primary cause of ad-related blocking is loading too many ads simultaneously, so it is recommended to reduce the number or density of ads."],["Optimizing ad loading by lazy loading below-the-fold ads and reducing batch sizes for Single Request Architecture can minimize blocking and enhance user experience."],["Ad-related scripts are identified through ad tags and third-party web classifications, providing insights into specific scripts contributing to blocking."]]],["This audit measures blocking time caused by ad-related scripts, impacting user experience through input delay and content loading. Key actions to reduce this time include: loading fewer ads concurrently or reducing ad density, lazy loading ads below the fold, and minimizing batch sizes with Single Request Architecture (SRA) in GPT. A script is ad-related if it is an ad tag or identified as such by Third Party Web. Total blocking time details are in the mentioned article.\n"]]