# Adding a script not working

**URL:** <https://forum.wixstudio.com/t/adding-a-script-not-working/1447>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [August 20, 2018, 3:10pm UTC](https://forum.wixstudio.com/t/adding-a-script-not-working/1447 "2018-08-20T15:10:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tristan-breon](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/tristan-breon/32/1231_2.png) [@tristan-breon](https://forum.wixstudio.com/u/tristan-breon)\
**Post date:** [August 20, 2018, 3:10pm UTC](https://forum.wixstudio.com/t/adding-a-script-not-working/1447/1 "2018-08-20T15:10:34Z")

</div>

Hi,

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 ?

---

<div class="post-metadata">

**Author:** ![\_tal](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/_tal/32/669_2.png) [@\_tal](https://forum.wixstudio.com/u/_tal)\
**Post date:** [August 21, 2018, 6:31am UTC](https://forum.wixstudio.com/t/adding-a-script-not-working/1447/2 "2018-08-21T06:31:29Z")

</div>

Hi,  
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.

Thanks,  
Tal.
