Where to put Quantcast JS tag for every page?

craigiri

Well-known member
As the title says, where is the best place to insert the JS code for an outside measurement service- I want this to load with each and every page similar to google analytics.

It's a standard javascript tag.

Should I just paste it in the footer template? Or is there a better way to put it in another file and then include it. Again, I want it to execute in every single page load of any type possible in XF).
 
There's a js template you can include it to. I think it might be page_container_js_body or something along those lines... there are dedicated JS templates though.

Alternatively, you can place it in page_container, header or footer.
 
Back
Top Bottom