Answer the question
In order to leave comments, you need to log in
How to connect external scripts in WP so that it does not affect Google's PageSpeed?
Hello!
I have a task to raise the rating of the wp site on pagespeed google .. it’s not a very fun activity)
PageSpeed most of all swears at external scripts fbevents / analytics, etc.
On Google, I came across this post: https://qna.habr.com/ q/492068 ..there a person described how to reconnect these sprits locally...only I didn't really understand the process of including the created php file in wp - can you help with this please?
And in general - is it possible to get the mobile version of a site on WP up to 90+ in pagespeed google?
The site is not news, the site of the company (simple landing + nested pages)
Answer the question
In order to leave comments, you need to log in
And in general - is it possible to get the mobile version of a site on WP up to 90+ in pagespeed google?
There are a couple of options:
1. Remove external analytics scripts (do not use analytics)
2. Pull external scripts by cron and load them locally, the Clearify plugin can partially do this, but it’s probably better to write the function yourself.
And in general - is it possible to get the mobile version of a site on WP up to 90+ in pagespeed google?It is possible, I reached this score without any problems (example: link in profile)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question