Adding a script not working


I’m trying to add a script I got on a website which transforms some links as people click on it (affiliate program), they advised to insert it right before the closing of the . So I pasted it in the “Analytics” section of my Wix Website, and it is not working. I’ve tried every option. I tried to pate the script in the code panel in the editor but it shows an error (it is not recognized as a proper code)

Can anybody help me with that one ?

Currently there’s no option to use the Track & Analyze to add code to your body tag. %his feature is used to embed code to your header. You can ask for it as a feature request from the Wix Support team.