Adding Javascript tag to Wix - Receiving <Script> Error

Hi, I am trying to add this code to my website.

I keep receiving an error that reads "Parsing error: unexpected token < " signalling that there is an issue with the < symbol. I dont know how to edit it or get it to save without error.

This forum is dedicated to Corvid and and can’t provide support for HTML scripts. You should refer to the following for more information regarding your script:

Corvid understands all of Javascript, except for anything that accesses the DOM. Accessing document elements such as div, span, button, etc is off-limits. The way to access elements on the page is only through $w.

One exception is the HtmlComponent (which is based on an iFrame). This element was designed to contain vanilla HTML and it works just fine. It is sandboxed and does not allow access to the DOM.