incubator-pagespeed-ngx
incubator-pagespeed-ngx copied to clipboard
Using Pagespeed module for Nginx blocks Google Ads account
The Pagespeed module for Nginx by default adds the following code to all pages of the site:
<noscript><meta HTTP-EQUIV="refresh" content="0;url='https://mysite.com/?PageSpeed=noscript'" /><style><!--table,div,span,font,p{display:none} --></style><div style="display:block">Please click <a href="https://mysite.com/?PageSpeed=noscript">here</a> if you are not redirected within a few seconds.</div></noscript>
Googlebot considers meta refresh a violation of the rules and blocks a Google Ads account with the message Reason: System bypass.
What you need to do: when installing the module, the SupportNoScriptEnabled setting should be false by default.
After adding the pagespeed SupportNoScriptEnabled false; sinks to the nginx config the problem is resolved.
p.s. It took us 3 months to understand the reason for blocking the accents of Google Ads. We have 4 accounts blocked. It’s very sad that two Google products conflict with each other.