टैग लोड होने का समय कम करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
खास जानकारी
विज्ञापन टैग लाइब्रेरी स्क्रिप्ट को लोड होने में लगने वाला समय. यह पेज लोड होने से लेकर
टैग लोड होने तक का इंटरवल है.
सुझाव
इस मेट्रिक से किसी खास समस्या के बारे में नहीं पता चलता है. इसका इस्तेमाल सुधार की ज़रूरत वाली चीज़ों की पहचान
करने और समय के साथ उस सुधार को ट्रैक करने के लिए किया जाना चाहिए.
इसका मकसद, विज्ञापन टैग लाइब्रेरी स्क्रिप्ट को लोड होने में लगने वाले समय को कम करना है. यह पक्का करें कि अन्य खास ऑडिट पास हो रहे हों, इससे इस मेट्रिक पर बड़ा असर होना चाहिए. खास तौर पर, इस बार नीचे दिए गए ऑडिट का असर
हो सकता है:
विज्ञापन टैग लाइब्रेरी की इन स्क्रिप्ट का इस्तेमाल किया जा सकता है:
लाइब्रेरी |
स्क्रिप्ट |
AdSense |
pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
pagead2.googlesyndication.com/pagead/show_ads.js
|
Google पब्लिशर टैग |
.../gpt/pubads_impl_<version>.js |
GPT लागू करने में होने वाली आम गलतियों से बचना
पेज को लोड होने में लगने वाले समय को कम करने के लिए, सबसे सही तरीकों को टैग करना
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-06-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-06-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis metric measures the time it takes for the ad tag library script to load from the start of page load.\u003c/p\u003e\n"],["\u003cp\u003eImproving other specific ad script audits, such as avoiding render-blocking resources or loading tags asynchronously, will positively impact this metric.\u003c/p\u003e\n"],["\u003cp\u003eThe goal is to reduce the script load time, and this metric helps track improvement in that area.\u003c/p\u003e\n"],["\u003cp\u003eCommon ad tag libraries included in this measurement are AdSense and Google Publisher Tag.\u003c/p\u003e\n"]]],["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"],null,["# Reduce tag load time\n\nOverview\n--------\n\nThe time it takes for the ad tag library script to load. This is the interval\nfrom page load to tag load.\n\nRecommendations\n---------------\n\nThis metric is not indicative of a specific issue. It should be used to help\nidentify areas for improvement and track that improvement over time.\n\nThe goal here is to reduce the time it takes for the ad tag library script to\nload. Ensuring that other, more specific audits are passing should have a major\nimpact on this metric. In particular, the following audits are likely to affect\nthis time:\n\n- [Ad request waterfall](./ad-request-critical-path)\n- [Avoid render-blocking resources](./ad-render-blocking-resources)\n- [Load ad scripts statically](./script-injected-tags)\n- [Load ad tag asynchronously](./async-ad-tags)\n- [Load GPT from recommended host](./loads-gpt-from-official-source)\n\nMore information\n----------------\n\nThe following ad tag library scripts are supported:\n\n| Library | Script(s) |\n|----------------------|-------------------------------------------------------------------------------------------------------------|\n| AdSense | `pagead2.googlesyndication.com/pagead/js/adsbygoogle.js` `pagead2.googlesyndication.com/pagead/show_ads.js` |\n| Google Publisher Tag | `.../gpt/pubads_impl_\u003cversion\u003e.js` |\n\n[Avoiding Common GPT Implementation Mistakes](https://developers.google.com/publisher-tag/common_implementation_mistakes)\n[Tagging best practices to minimize page latency](https://support.google.com/admanager/answer/7485975) \n[View audit source](https://github.com/googleads/publisher-ads-lighthouse-plugin/tree/HEAD/lighthouse-plugin-publisher-ads/audits/tag-load-time.js) [Improve this article](https://github.com/googleads/publisher-ads-lighthouse-plugin/tree/HEAD/docs/audits/tag-load-time.md) [Report an issue](https://github.com/googleads/publisher-ads-lighthouse-plugin/issues/new?labels=documentation&template=documentation-feedback.md&title=Documentation+feedback%3A+tag-load-time.md)\n\n\u003cbr /\u003e"]]