Screpy - AI SEO Audit Tool New Screpy is coming 🎉

Geolocation Permission Request During The On Page Load

Requests for geolocation permission that appear as notifications during page loading negatively affect the user experience. Request on page load needs to be removed.

Reviewed by Screpy Editorial Team

If you use the Google Lighthouse system, you can easily detect geolocation permission requests that appear during page loading. The system notices this and presents it as a warning and flags it. Here is an example:

Geolocation Permission Request

To do this, Google examines all Javascript libraries used during Lighthouse page loading and looks for geolocation.getCurrentPosition() or geolocation.watchPosition() snippets. If the permission is not granted yet, the audit process will fail.

If permission is given before performing the audit, Lighthouse may not work properly. For this reason, before starting the audit, you should definitely do a reset to cancel the previously given permissions.

How to ask users’ locations as UX compatible?

Make sure 100 percent that there are no codes geolocation.getCurrentPosition() and geolocation.watchPosition() in Page load. Later,

  1. Issue geolocation permission after user action is completed.
  2. Note also that users may not want to give you this information.
  3. If you can’t get geolocation permission, use a fallback.
  4. If a transaction requires geolocation, make sure to specify this in advance.

Related tasks

Solve the errors logged to the console

If there are error warnings about your website within the console offered by the browser, you need to follow a few basic steps to resolve them.

Tuesday, December 22, 2020

Title Tags Not Found

Are you encountering the title meta tag not found the issue? You can solve it right away! Here are the causes and importance of the problem in detail.

Sunday, December 20, 2020

Robots.txt Not Found

If you are encountering the Robots.txt not found error, you can create your file immediately by paying attention to the steps below. Discover the details now!

Sunday, December 20, 2020

Not Crawlable Pages

Have the same problem with crawlability issues? Let’s see what you can do for your website to be indexed. Here are the ways and solutions!

Sunday, December 20, 2020

Meta Description Not Found

Are you getting a meta description not found a warning about your web page? Let's figure it out! Why is meta description important, how to pass the audit? Examine!

Sunday, December 20, 2020