Parsing Errors - adding coding script to Wix website

Hi

I am having trouble connecting Moosend, email marketing website with my Wix website.

Moosend gave me the website ID and a script code to paste onto Wix

Trouble is I keep getting Parsing error identifier directly after number with the website ID and parsing error unexpected token.

I’ve turned on DEV mode to put the codes onto the site code, home page site code. Moosend said copy onto your HEAD tag but I have no idea what that means.

It looks like this at the moment on the site code.

// For full API documentation, including code examples, visit Velo API Reference - Wix.com

$w.onReady( function () {
//TODO: write your page related code here…

[573629](
573629dee16b4a14a4b023bec161c6b7

});
) [dee16b4a14a4b023bec161c6b7](
573629dee16b4a14a4b023bec161c6b7

});
)
[

});
)
[//load TrackerJS](
573629dee16b4a14a4b023bec161c6b7

});
)
[!](
573629dee16b4a14a4b023bec161c6b7

});
) [function](
573629dee16b4a14a4b023bec161c6b7

});
) [(t,n,e,o,a){](
573629dee16b4a14a4b023bec161c6b7

});
) [function](
573629dee16b4a14a4b023bec161c6b7

});
) [ d(t){](
573629dee16b4a14a4b023bec161c6b7

});
) [var](
573629dee16b4a14a4b023bec161c6b7

});
) [ n=~~(Date.now()/3e5),o=document.createElement(e);o.async=!0,o.src=t+“?ts=”+n;var a=document.getElementsByTagName(e)[0];a.parentNode.insertBefore(o,a)}t.MooTrackerObject=a,t[a]=t[a]||function(){return t[a].q?void t[a].q.push(arguments):void(t[a].q=[arguments])},window.attachEvent?window.attachEvent(“onload”,d.bind(this,o)):window.addEventListener(“load”,d.bind(this,o),!1)}(window,document,“script”,"//cdn.stat-track.com/statics/moosend-tracking.min.js](
573629dee16b4a14a4b023bec161c6b7

});
) [“,”](
573629dee16b4a14a4b023bec161c6b7

});
) [mootrack](
573629dee16b4a14a4b023bec161c6b7

});
) [");](
573629dee16b4a14a4b023bec161c6b7

});
)
[//tracker has to be initialized otherwise it will generate warnings and wont sendtracking events](
573629dee16b4a14a4b023bec161c6b7

});
)
[mootrack(](
573629dee16b4a14a4b023bec161c6b7

});
) [‘init’](
573629dee16b4a14a4b023bec161c6b7

});
) [, ](
573629dee16b4a14a4b023bec161c6b7

});
) [‘573629dee16b4a14a4b023bec161c6b7’](
573629dee16b4a14a4b023bec161c6b7

});
) [);](
573629dee16b4a14a4b023bec161c6b7

});
)
[](
573629dee16b4a14a4b023bec161c6b7

});
)
[});](
573629dee16b4a14a4b023bec161c6b7

});
)

Thank you in advance

You can’t embed HTML in a Corvid page. You might want to consider using an HtmlComponent . For more information, see the article Working with the HTML Component in Corvid .

A more secure way to handle web service requests is by using backend (server-side) code. Using backend code you can secure your passwords, API keys, and other secret information. The article Accessing 3rd Party Services explains how this is done. I recommend checking with the service provider to see if they provide a REST interface.