My site is loading too slowly and asking for location

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:


Thanks a lot for your help in advance. 

Replies 6 (6)

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?

Shopify Partner
134 10 74

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)
2 0 0

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

Shopify Partner
244 29 129

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) {
					// success callback
					function(position) {
						self._useGeolocation(position, variantId, productTitle);
					// failure callback
					function() {
						self._fetchStoreAvailabilities(variantId, productTitle);
			} 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.

You can also contact me directly if you prefer.

Shopify Partner
7865 1785 3058

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



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. 


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. 

Shopify Partner
18 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: 

You'll find easy ways to improve your loading performances

Have a good day,


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