Okay
  Public Ticket #715401
Need to embed JS in HEAD tag and footer
Closed

Comments

  • Timothy started the conversation

    My client is using Adobe DTM, and other tag management tools want us to embed a snippet of JS in the HEAD tag as well as at the bottom (just like you do with Google Analytics). 

    Since much of the digital marketing industry is going toward this approach to embedding tags, I think it would be a good idea to add something in the theme options to allow embedding of tags in the header and in the footer, instead of just having a box for Google Analytics. 

    I will currently add this to the child theme manually for now, but I just would like you to consider this for a future release. It should be easy for you, I just don't know how.

  •  8,992
    Tahir replied

    Hey, 

    You can add any JS code in the GA Section and it will be pasted into the head. See url for example : https://themenectar.ticksy.com/article/5528/

    Best. 


    ThemeNectar Support Team 

  • Timothy replied

    Thats not what I am talking about, the Google Code is placed at the top of the <body> tag, but not in the <head></head> tag

  •  8,992
    Tahir replied

    Hey Again,

    Yes you are right . Though you can use such plugins as well: https://wordpress.org/plugins/header-footer/

    Best. 


    ThemeNectar Support Team