ลดเวลาที่ใช้ในการโหลดแท็ก
ภาพรวม
ระยะเวลาที่ใช้ในการโหลดสคริปต์ไลบรารีแท็กโฆษณา คือระยะเวลาตั้งแต่เริ่มโหลดหน้าเว็บจนกระทั่งโหลดแท็กเสร็จ
การแนะนำวิดีโอ
เมตริกนี้ไม่ได้แสดงถึงปัญหาใดโดยเฉพาะ ควรใช้เมตริกเพื่อช่วยระบุส่วนที่ควรปรับปรุงและติดตามการปรับปรุงเมื่อเวลาผ่านไป
เป้าหมายคือการลดเวลาที่ใช้ในการโหลดสคริปต์ไลบรารีแท็กโฆษณา การดูแลให้การตรวจสอบอื่นๆ ที่เฉพาะเจาะจงมากขึ้นมีสถานะผ่านจะช่วยให้มีผลต่อเมตริกนี้ได้อย่างมาก โดยเฉพาะอย่างยิ่งการตรวจสอบต่อไปนี้ซึ่งมีแนวโน้มที่จะมีผลต่อระยะเวลาดังกล่าว
ระบบจะรองรับสคริปต์ไลบรารีแท็กโฆษณาต่อไปนี้
คลัง |
สคริปต์ |
AdSense |
pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
pagead2.googlesyndication.com/pagead/show_ads.js
|
แท็กผู้เผยแพร่โฆษณาผ่าน Google |
.../gpt/pubads_impl_<version>.js |
การหลีกเลี่ยงข้อผิดพลาดที่พบบ่อยในการใช้งาน GPT
แนวทางปฏิบัติแนะนำในการติดแท็กเพื่อลดเวลาในการตอบสนองของหน้าเว็บ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-06-26 UTC
[null,null,["อัปเดตล่าสุด 2024-06-26 UTC"],[[["This metric measures the time it takes for the ad tag library script to load from the start of page load."],["Improving other specific ad script audits, such as avoiding render-blocking resources or loading tags asynchronously, will positively impact this metric."],["The goal is to reduce the script load time, and this metric helps track improvement in that area."],["Common ad tag libraries included in this measurement are AdSense and Google Publisher Tag."]]],["The content focuses on the ad tag library script load time, measured from page load to tag load. The primary aim is to reduce this time, which can be achieved by improving other areas. Key actions include passing audits like those related to the ad request waterfall, avoiding render-blocking resources, loading scripts statically, loading tags asynchronously, and using the recommended GPT host. These actions should positively impact this metric, but it is not indicative of a specific issue. Supported ad tag libraries are provided, including AdSense and Google Publisher Tag.\n"]]