Has anyone in the “Page HTML Header” section (image below) implemented JavaScript before? I’m trying to add in meta tags into the header but can’t for the life of me figure out how to actually make it place meta tags into the html header using JS. Here’s the code I have:
<script>
var link=document.createElement('meta');
link.name="my:url";
link.content="Content should be displayed";
document.getElementsByTagName('head')[0].appendChild(link);
</script>
Click the home text below the box to edit the script, then save it.
Highlight the text you wish to edit and click the insert dynamic data to replace the highlighted text