Search Keyword Redirect to URL

I have a search bar on my website but on one of the pages in my website there is an iframe which is not searchable. I want to set up some kind of custom function so that when someone tries to search for specific keywords, they will be redirected to the iframe page instead of to the search results page. I found this code online that seems to be something close to what I’m trying to do but I’m not sure how to implement it on my webflow site. Can someone help? Thanks.

I don’ have a sharable link but you can visit the live website at jacklewisjewelers.com and the page I want to redirect to is Jack Lewis Jewelers - Official Rolex Jeweler in Bloomington


Here is my site Read-Only: LINK
(how to share your site Read-Only link)