So i decided to create a page that when visited, redirects to another external URL selected from an array.
My code looks like in the attached file.
My question is, where should I place this code on my “/random-page” for this to work in Webflow.
(Also, if you spot any errors in the code, please let me know).