We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How do we disable 'shpxid' tracking parameters being added to urls?

How do we disable 'shpxid' tracking parameters being added to urls?

Binjuice
Tourist
3 0 1

Is there a way to remove or disable 'shpxid' tracking parameters in the url? These appears when visitors use external links to visit our Shopify store. This wouldn't be an issue if it didn't trigger a 302 when our partners share our alias domains and end up on our primary domain.

 

Also note, we only have one market active. 

Replies 6 (6)

Lisa118Heckel
Visitor
1 0 0

Hello!

The shpxid parameter and associated 302 redirects in Shopify, especially with alias domains, typically stem from Shopify Markets' "Automated redirections" setting, even if only one market is active. The primary solution is to disable this "Automated redirections" feature in your Shopify Admin under Settings > Markets > Preferences. While client-side JavaScript can clean the URL post-load, it won't prevent the initial 302 redirect. Disabling the automated redirects directly addresses the root cause. 

Binjuice
Tourist
3 0 1

Thanks for your response. I saw a reference to Shopify Markets in another thread but Settings > Markets > Preferences doesn't appear to be active in the current Shopify build. I found the direct link (https://admin.shopify.com/settings/market) but it now redirects to Markets on the main admin menu and I can't see any preference options. Do you know where "Automated redirections" settings are now found? 

 

zappa
Excursionist
16 0 0

We have the same issue, but we don't seem to have preferences in markets, and I can't see anything about auto redirects.

JamesBeninger
Shopify Partner
2 0 2

Try disabling Online Store -> Preferences -> Automatic redirection

zappa
Excursionist
16 0 0

Wow, thank you James. You are wonderful. I wasn't sure whether to disable redirection to language, country, or both. I did both, and it worked.

Rawls
Tourist
5 0 3

Thank you James. You're a life saver!