XF 1.5 Want to add a tracking java script code to different templates


New member
We subscribed to some addon service for our website forum,
we want to get some Advanced analytics report for each pages of forums,

example : I have to insert a code into Forum Home page only- ie: Forum view
(It shouldn't reflect in other templates like topic view, message view)

currently when i insert that code in forum view template, it is reflecting in all pages.

is this possible with any conditional statements ?