My site is loading too slowly and asking for location

kumara
New Member
2 0 0

Hi there, 

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? 

My site is: www.kumarabeauty.com.

 

Thanks a lot for your help in advance. 

0 Likes
ElleBozz
New Member
2 0 0

How strange. I have almost half of my sites running too slow, so yours was just no exception. Maybe you should try doing some site tooling upgrades?

0 Likes
JohnCodes
Shopify Partner
104 9 54

Hi @kumara 

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.

Developer at SpeedBoostr (Shopify optimization and dev agency).
Try out our Shopify Analyzer (free performance analysis tool).
Check out Order Automator (app that auto tags + fulfills orders, and more automation)
More Apps: Theme Scientist (A/B testing tool), Tip Jar (add a tip button to your store), File Optimizer (optimize CSS, JS, Liquid)
0 Likes
kumara
New Member
2 0 0

Thank you so much! I had a replay app. I deleted it but it still seems to be asking for location :(. 

0 Likes
oreoorbitz
Shopify Partner
127 13 77

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.

 

 

Available for freelance. I specialize in speed improvement and theme development.
https://www.upwork.com/fl/orionholmes

Hi @kumara

It's PageFly - Shopify Page Builder App here and there's some notice I have when checking your site speed. Here's the results of your page speed checked on PageSpeed Insights: https://developers.google.com/speed/pagespeed/insights/?url=www.kumarabeauty.com&tab=mobile. The score on Desktop is 43, and on Mobile, it only scores 25 so here's some of my suggestions to improve your site. 

1. Delete any unused third party apps and unused theme codeThese 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. 

PageFly_0-1620032173511.png

 

2. 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. 

PageFly_1-1620032226119.png

3. You can try Lazy Loading as well to reduce loading time all at once. PageFly do offer this feature as default when building page. 

PageFly - Advanced Shopify Page Builder - Empowering 90.000+ active merchants.

Check our Evergreen Guide on Moving Your Brick-n-Mortar Store Online.

0 Likes
-Arthur-
Shopify Partner
17 1 4

Hello @kumara ,

I actually wrote an article on this specific topic so you have a better idea how to measure properly your speed and how to improve it:

https://www.once.app/blog/article/how-to-load-your-shopify-website-faster-on-mobile.html 

You'll find easy ways to improve your loading performances

Have a good day,

Arthur

Once - Mobile-Optimized Product Pages
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
0 Likes
freya0328
Explorer
129 1 16

I think you can try to upgrade some site tools.

0 Likes