In addition to having a low score (which I know I should not worry too much about), my shop does visibly load slowly. I am not sure what to do.
The site also asks the user to share their location each time someone visits the page. This is definitely hurting my conversion rates. Does anybody know how to get rid of this?
I went through your website and tried to analyze the resources that are being loaded to see if I could find anything that stuck out.
Do you have any apps named Replay or something similar? It looks like this app alone is adding over 2 seconds to your loading time. It could also potentially be the reason your website is asking for location access.
The code that asks for a user’s location is inside your theme.js file, it’s not an app.
StoreAvailability.prototype = Object.assign({}, StoreAvailability.prototype, {
updateContent: function(variantId, productTitle) {
var options = {
maximumAge: 3600000, // 1 hour
timeout: 5000
};
var self = this;
// Not all browsers have geolocation API
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(
// success callback
function(position) {
self._useGeolocation(position, variantId, productTitle);
},
// failure callback
function() {
self._fetchStoreAvailabilities(variantId, productTitle);
},
options
);
} else {
this._fetchStoreAvailabilities(variantId, productTitle);
}
}
I suggest you hire a developer to go through your theme’s code and explain to you what the code is doing, and if you decide too, delete in a safe way that won’t cause issues.
Delete any unused third party apps and unused theme code. These are the 2 main sources that take up most of your store that eventually will affect the page speed. You can reach out to Shopify Support or developer to see what can be minimized or removed in your theme code.
Minify all of your image file size. You can use any image resize tool online to do this, this will not immensely affect your images but your site will be so much lighter.