For Workes & Pages, what is the name of the domain?
What is the issue or error you’re encountering
I cant add custom HTML code in the footer of my website with Zaraz. Please suggest any solution.
I cant add custom HTML code in the footer of my website with Zaraz. Please suggest any solution.
We are absolutely unable to provide you with any type of help if you won’t provide us with a little more information about what “can’t” means. What HTML are you trying to add, how have you tried to add it, what issues or errors are you facing, etc
Ok by default I see the Zaraz codes are coming inside the HEAD and /HEAD section. But I have codes that I require to place before the closing /BODY tag. As you can see many other analytics codes are placed there or even Google Tag Manager has 2 codes one to place inside the header and another one in the footer. Can you guide me how can I place a piece of HTML or code before the closing /BODY tag?
<script>
document.body.insertAdjacentHTML('afterend', '<h1>example</h1>');
</script>
Thank you. But still, I am a bit rookie. Can you tell me an example how can I add the following piece of code before the closing /BODY tag?
< script type=“text/javascript” src=“//analytics.aweber.com/js/awt_analytics.js?id=4_wg”> </ script >
I don’t see why it would matter to include this script at the bottom of the and not anywhere else. You can just put it as is using the Custom HTML tool. If you really want it at the bottom, please use ChatGPT or Google to learn how to add a script to the bottom of your page. This really isn’t a Zaraz related question but more of a general JavaScript question.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.