Hey there
I am thinking of creating some sort of forum/social community. I am exploring my options and came across the wix forums. They look perfect for what I had in mind. But I have one question. I would like to add a javascript code in head tags that makes every link on my website turn into my affiliate link. Is this possible with the new Wix Code?
Kind Regards
ps: this is the code
Would like to run this script
<script> window.ao_subid = "Forum"; </script> <script src="//js.mamydirect.com/js/?h=iTLfXV0o" type="text/javascript" async></script>
It depends on the other company and what it means to turn any link into an affiliate link.
If it means to add a url parameter to each link, you can probably do so with wix code.
Probably or for sure? Do you think a code that makes every link on my website (even forum) turn into an affiliate link can work on wix code?
Hi,
At this time, Wix does not allow embedding scripts in the head tags. Wix Code allows you to code the support yourself - the tag you show above is just a link to a javascript file - you can probably complete the same functionality using wix code, if a bit less trivial.