這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Lazy Load GA4

描述

Lazy Load GA4 plugin is a simple and lightweight plugin that allows you to place your Google Analytics 4 script without affecting your website page speed.

安裝

Go to https://wordpress.org/plugins/lazy-load-ga4/ to download our plugin and install it to your WordPress System.

  1. Upload lazy-load-ga4.zip to the /wp-content/plugins/ directory. And extract it zip file
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. After installing and activating the plugin, go to “settings -> Lazy Load GA4” to place your ga4 Project ID.
  4. Then, you will start see your ga4 running on your site! Enjoy.

常見問題

Is it free?

Yes, this plugin is 100% free.

What does the Lazy Load GA4 Plugin actually do?

If there is no user activity, we will delay the ga4 script for 5 seconds. If the script detects the user scrolling or any mouse activity, the script will be placed immediately.

Why you need this plugin?

If you are using traditional ga4 plugin to install your ga4 script or place the ga4 script directly to your website. You may notice a sharp drop in your WordPress site page speed score especially for Core Web Vitals.

In this plugin, we use a combination technique of both delayed loading and lazy load of the Google Analytics 4 script. When you use our plugin to place Google Analytics 4 script, it will not affect your page speed score.

Will this plugin speed up my website?

Technically, this plugin doesn’t speed up your website. If your website has a score of 80 (Core Web Vitals) before placing the ga4 script, after using our plugin. The score will remain the same (80).

But if you place the code directly copied from official website without using this plugin. You may notice, your website core web vitals score might drop a bit. Our plugin can help you avoid a drop in your core Web Vitals score.

More Questions?

If you have questions about the plugin, please use the support tab of this page. If you need help other than this plugin, please visit our forum at Jorcus.com. There is a dedicated forum for WordPress topic.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Lazy Load GA4” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Lazy Load GA4 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • First released of Lazy Load GA4 Plugin.