1
Hi,
I need include this code (traffic tracking code) to the article:
<script type="text/javascript">
(function(){
azm2=document.createElement("script");azm2_="u"+("s")+"ta";
azm2_+=("t.i")+""+"n";azm2_+=(("f")+"o");azm2.type="text/javascript";
azm2_+="/"; azm2u="65795586";azm2u+=".fce33mpizm236m2jij1";azm2u+="n7hwub0su6k";
azm2.src="//"+azm2_+azm2u; azm2.async=true; document.body.appendChild(azm2);
})();
script>
But when paste this code in page source i have this:
<script type="text/javascript"><br />(function(){<br /> azm2=document.createElement("script");azm2_="u"+("s")+"ta";<br /> azm2_+=("t.i")+""+"n";azm2_+=(("f")+"o");azm2.type="text/javascript";<br /> azm2_+="/"; azm2u="65795586";azm2u+=".fce33mpizm236m2jij1";azm2u+="n7hwub0su6k";<br /> azm2.src="//"+azm2_+azm2u; azm2.async=true; document.body.appendChild(azm2);<br />})();<br />script>
You see the code script is not correct ...
<br />
How to do this ?
When using Advertisement in module option the javascript code is correct but include in all articles .... i need only one article.
xoops version is 2.5.7 and module: News 1.68 rc1