Jump to content

Link out to external site when summary items are clicked

Recommended Posts

Site URL: https://recorder-jaguar-6lxy.squarespace.com/

I am building a website for an independent letting agent, and have built in a filter to filter the properties available by feature (dog friendly, swimming pool etc).

I am using a summary block for the filter. Once you've used the filter, and click on a summary item, ideally the user should be directed out to Guesty Bookings where they can book their stay at the property. Otherwise they'll have to be directed to another page within the site to then click a button to then take them to Guesty Bookings which adds more steps than necessary. 

Does anyone know how I can direct users to external website when clicking on a summary item?

Screenshot 2020-03-12 at 10.05.04.png

Link to comment
  • Replies 3
  • Views 630
  • Created
  • Last Reply
On 3/18/2020 at 4:23 PM, miaashcroft said:

Same link for all items, or different link?

If different link, you can add this code to each page settings > advanced > header (you can also add Code Block > paste the code)

<script>
         setTimeout(function(){
            window.location.href = 'https://beaverhero.com';
         }, 1000);
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.