Code on Index Page Needed

I am currently using heat mapping software for my website and I want to also incorporate it into my forum.

It is a simple javascript code snippet that must be added before the </body> tag of the website ends. The code is made for one page only, so it cant show up on multiple pages or it will skew the data. Therefore I want to use it on my main forum page (one with sidebar and board listing), and I need a way to put the code into that page...and that page ONLY.

What is the simplest way to implement this?

Thanks in advance for all help and support.


XenForo moderator
Staff member
Add it to the PAGE_CONTAINER template as that is the template which contains the body tags.

Otherwise add it to the forum_list template, but there are no body tags on that template.