extinctco Posted October 1, 2021 Share Posted October 1, 2021 Site URL: https://www.theextinctcompany.com I'm wondering if there's a way to make a button that automatically redirects people who click on it to their respective regional amazon store? I am not an amazon affiliate - so OneLink wouldn't work. Just hate that my book website has 12 buttons for buying the book - doesn't look good. Thank you. Beyondspace 1 Link to comment
paul2009 Posted October 2, 2021 Share Posted October 2, 2021 15 hours ago, extinctco said: I'm wondering if there's a way to make a button that automatically redirects people who click on it to their respective regional amazon store? There isn't a feature for this, but it can be achieved by writing some JavaScript. You'll replace all the buttons with a single button, and then write some code to identify the visitor's country. If they appear to be in one of the countries for which you have a link, the code will then need to replace the button's generic URL with the country specific one. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Beyondspace Posted October 2, 2021 Share Posted October 2, 2021 17 hours ago, extinctco said: Site URL: https://www.theextinctcompany.com I'm wondering if there's a way to make a button that automatically redirects people who click on it to their respective regional amazon store? I am not an amazon affiliate - so OneLink wouldn't work. Just hate that my book website has 12 buttons for buying the book - doesn't look good. Thank you. We usually use ip geolocation to detect user's country and get the 2 digit country and convert into amazon link for each country BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment