Aaron_B Posted April 30, 2020 Share Posted April 30, 2020 Site URL: https://www.jackrabbithill.com Hey, I am trying to inject some code that will re-direct customers who have completed a purchase to a "thank-you" page but am having no luck with it. I have injected some code into the 'Order Confirmation Page' portion of the code injection portion of the setting but it does not seem to re-direct to the thank you page. Any help would be appreciated. Thanks (Here is the code that I have used to re-direct but doesn't seem to work) <script> var timer = setTimeout(function() { window.location='/thank-you }, 1000); </script> Link to comment
tuanphan Posted May 2, 2020 Share Posted May 2, 2020 Try again with this 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.