Hello!
I’m wondering where I could add code when I’m asked to insert it into my < head > tag?
Thank you for your help!
Hello!
I’m wondering where I could add code when I’m asked to insert it into my < head > tag?
Thank you for your help!
Hello Nadia,
Thanks for asking.
You can use Insert Headers and Footers plugin to add code into <head>
section of the page. Here’s some resources that you can take a look.
Thanks
Is there a way to get around the plugins?
I think I’m using a lot of plugins already so I want to avoid adding more because I’m afraid it will slow down or conflict with my site.
Thanks for your help
Hello Nadia,
Thanks for updating the thread.
You can also add the script code in child theme function.php file. You can download child theme from following source:
https://theme.co/apex/child-themes
After that add following code in child theme function.php file:
function third_party_tracking_code() { ?>
<script>
// Add code here
</script>
<?php }
add_action( 'wp_head', 'third_party_tracking_code' );
Replace // Add code here.
with the code that you want to add in head
section of the page.
Thanks.
Great, thank you so much for the info. I’m using a child theme I’ll try the code you gave me!
thanks again!
You are most welcome.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.