: GTM is not triggering custom javascript variable value I am trying to add a meta tag to website using Google tag manager. But GTM is not triggering the custom javascript variable value. (trigger
I am trying to add a meta tag to website using Google tag manager. But GTM is not triggering the custom javascript variable value. (trigger is happening, but value is missing)
My Custom HTML tag in GTM
<script>
var m = document.createElement('meta');
m.name = 'subject';
m.content = {{Page Heading Variable}};
document.head.appendChild(m);
</script>
GTM Debug Screenshot
Page Heading Variable: It's a javascript GTM variable to extract the page heading.
More posts by @Miguel251
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.