Chuyển đến nội dung chính

Fix Google Analytics caching bugs simply

Fix Google Analytics caching bugs in WordPress simply.

 

No doubt, Google Analytics is the most comprehensive and comprehensive blog / website research solution in the world at the moment. Almost every blog / website, including WP Basic , is using Google Analytics for the purpose of tracking user traffic and activity. To do this, Google Analytics will require blogger / webmaster to insert a script into their blog / website. This script also causes the cache error when testing the speed of the blog / website.

Google Analytics cache error


Google Analytics is one of the causes of the "Advanced caching browser" error (or "Leverage browser caching" error) when testing your blog / website speed with tools such as Google PageSpeed ​​Insights or GTMetrix . It will cost you 2 to 3 points.

 

How to overcome this problem, while continuing to use Google Analytics on your blog / website? Today, I will guide you to do it easily with the blog / website with the WordPress source code .

Correcting Google Analytics cache errors in WordPress


1. First, you need to install and activate the Complete Analytics Optimization Suite plugin .

 

2. Go to Settings => Optimize Analytics and set the parameters needed for the plugin.



 

In it, pay attention to three main parameters:

  • Google Analytics Tracking ID : is your Google Analytics ID . This ID can be extracted from within the regular Google Analytics code .

  • Position of tracking code : the location of the tracking code . Choose Footer .

  • Use bounce rate adjusted : adjusted bounce rate, also known as bounce rate (0 to 60%), you should reach 30% is reasonable, do not get too low. If you do not want to adjust, you can leave this parameter blank.


The rest, you can leave the default. Click the Save Changes button to save the settings after finishing.

3. Clear the web cache (if you use the cache generator plugin) and check again with Google PageSpeed ​​Insights , GTMetrix ... Google Analytics cache error messages completely gone.

 

Is not it great? Good luck!

If you like this article, subscribe to my blog to regularly update the latest, latest posts by email. Thank you very much. :)

Nhận xét

Bài đăng phổ biến từ blog này

Share tut unlock Facebook account FAQ

Hello friends! Today I saw many of you get unlocked Facebook account , as well as long blog does not have a new article, today I share the Tut open your Facebook account FAQ .   - B1: Visit one of the following links: Https://en-gb.facebook.com/help/contact/1261191180581258 Https://en-gb.facebook.com/help/contact/1553947421490701 Https://en-gb.facebook.com/help/contact/313733425335072   - B2: Fill in the full information including: the correct name of the Profile and the registered email. Additional information may be left blank - B3: Wait 1 - 5 minutes later, login to the account is blocked by registered email. - B4: Get account.

How to raise a bulldog

What do bulldogs eat ? Bulldogs are not as picky as other dog breeds, they are very gourmet and can eat anything you eat. However, this breed is very lazy, they can lie in a place from morning to afternoon and only get up when hungry. This characteristic makes them more susceptible to obesity, especially when the starch-rich diet as in Vietnam. Starches (found in rice, porridge, corn, potatoes, cassava, bread, ...) provide lots of calories. A diet rich in starch makes lazy dogs fatty and obese , leading to reduced life expectancy and poor health. An overweight bulldog dog is only six years old, instead of eight years (with the English Bulldog) as usual. So what should you give the Bulldogs to eat? Dogs are carnivores, all breeds of dogs, their digestive system is made to absorb mainly proteins. Therefore, their diet must be rich in protein, from animal meat (lean meat, low fat to avoid going out), viscera, eggs, ... Protein diets will reduce the risk of fat accumulation, Used up wil...

How to Systemless Root and install Xposed with Magisk on Android

For android phone without root means you have not explored it in the best way. The root allows the user to customize the maximum possible to exploit the hardware performance of the machine compared to the original when the user to default from the manufacturer. However, one of the downsides of root is that you will not receive OTA updates and security if you are using SELinux policy. Here is a new rooting technique called " Systemless root " that allows root your device without changing the system files on the device. So you can enjoy OTA updates, security, and root at the same time. The key to experiencing all of them at once is to use  the Magisk systemless interface developed by XDA  developer topjohnwu . Magisk allows you to make changes to android device permissions without altering the system files, so you can enjoy Android Pay on your root device. Yes, I am pretty sure that you understand the advantages of Systemless root on Android. So, let's see how to get Sy...