-
AuthorPosts
-
December 17, 2018 at 10:22 pm #1046566
Hello, i’d like to add a hotjar code inside the head tag on the homepage on my site. Can someone please provide advice on how to go about doing this? Thank you :)
December 17, 2018 at 11:31 pm #1046613Hey bobfurgo,
You can check our documentation on how to add it: https://kriesi.at/documentation/enfold/add-custom-js-or-php-script/#add-a-script-to-head-section
just post your hotjar code after the:// Your script hereHope this helps.
Best regards,
NikkoDecember 17, 2018 at 11:33 pm #1046616Thank you! So just to make sure, is this would it should look like in function.php file? (see private area)
December 17, 2018 at 11:48 pm #1046622Hi bobfurgo,
You have two just the extra, you’ll have this code (moved to private content)
Best regards,
Nikko-
This reply was modified 6 years, 11 months ago by
Nikko.
December 17, 2018 at 11:50 pm #1046623Thanks Nikko!
Can you please mark the above reply you just sent as private? Thanks again!
December 18, 2018 at 12:24 am #1046654I’m actually a bit confused. Are you saying the above code, as you provided should be exactly what is entered into the functions.php?
December 18, 2018 at 12:50 am #1046665Hi bobfurgo,
You can use the code in private content and add it at the bottom of functions.php
I was just avoiding to post your hotjar code in public.Regards,
NikkoDecember 18, 2018 at 1:18 am #1046678That’s perfect. thanks so much Nikko!
Would you mind marking your post from 11::48pm as private? Thanks!
December 18, 2018 at 1:48 am #1046685Hi Nikki,
I just placed that exact code into the bottom of my child theme’s function.php and it ended up showing on the live site. I removed it so you can’t see it now but I can share a screenshot if needed. How do I implement this code but have it not show on the live site?
Thanks
December 18, 2018 at 9:57 am #1046770Hi bobfurgo,
I have moved it to private content.
Can you give us the screenshot?Regards,
Nikko -
This reply was modified 6 years, 11 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
