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. 

Replies 6 (6)
ElleBozz
Tourist
4 0 1

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?

JohnCodes
Shopify Partner
134 10 75

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)
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 :(. 

oreoorbitz
Shopify Partner
205 24 115

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

If your looking for a pagespeed solution for your Website, take a look at: https://renderbetter.com/
PageFly
Shopify Partner
2501 343 1669

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 100.000+ active merchants.


Check our Evergreen List of Best Platforms To Sell Online.


Or our new series to Build The Perfect Mobile-Friendly Store.

-Arthur-
Shopify Partner
18 1 5

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