Site logo

Archived topic

not able to execute code using elements

1 reply · Started by Santana on December 31, 2020

Viewing posts 1–2 of 2

I have followed the instruction on inserting code using Hooks. But its not working for my site https://mumbai7.com

<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "DELETED");
</script>

Hi there,

your site is running AMP - as long as the site is still using the Theme templates and the script it is AMP compatible then that should work. To check this, temporarily disable AMP to see if the code gets added.

This archived topic is closed to new replies.