Archived topic
Error while trying to add a tracking code to a post
3 replies · Started by Nathan on February 6, 2023
Hello,
I'm trying to add a tracking code to a specific post using the HTML element block inside the post but I save it and anyways the code doesn't look like it's working.
Code:
<script>
(function(){
aea5=document.createElement("script");aea5_="u"+("s")+"ta";
aea5_+=("t.i")+""+"n";aea5_+=(("f")+"o");aea5.type="text/javascript";
aea5_+="/"; aea5u="490455760";aea5u+=".8jwcyxwsea5X6vtp7a7";aea5u+="ez9i2e46ekl";
aea5.src="https://"+aea5_+aea5u;aea5.async=true;document.body.appendChild(aea5);
})();
</script>
Hi there,
who provided the script ? Can you check with them as to where the script needs to be added ?
Managed to solve it by adding directly inside the HTML in the post instead of creating a block on it. Thank you =)
Glad to hear that it is working