Hi,
I need to insert a script right after the body tag is inserted.
So basically between this:
<body>
//Insert some script
<div id="wrap_all">
I have found a lot of hooks which place it near the place I want but not the exact place.
Is there a hook for it?
The nearest I get now is with this hook:
function add_marketing() {
?>
<script>
<!-- Google Tag Manager Marketing -->
alert("Marketing");
</script>
<?php
}
add_action('ava_main_header', 'add_marketing', 10, 0);
Hey (Email address hidden if logged out) ,
Yes, you can use this hook:
ava_after_body_opening_tag
Hope it helps.
Best regards,
Nikko