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.

评价

此插件暂无评价。

贡献者及开发者

“Lazy Load GA4” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Lazy Load GA4”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • First released of Lazy Load GA4 Plugin.