Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1809742
Placing code in a footer area
Closed

Comments

  • chirpie started the conversation

    My analytic tracking platform is asking for their javascript code to be placed as close to the end of the page (footer) as possible. As best as I can tell, there's no place other than "appearance / theme options / general / advanced / Custom JS" to place the code.

    Is there a recommended method for adding javascript to as close to the </body> tag as possible? Thanks!

  •  7,095
    Oliver replied

    Hi,

    You need to edit template:

    /wp-content/themes/thegem/footer.php

    Add your code after the line 94.

    For the safety feature updates copy this file to the main folder of the child theme before the editing.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver