We want to implement Chartbeat web analytics tracking code which consists of 2 javascipt snippets.
One is to be placed before the </head> tag and the other to be placed before the </body> tag.
Can you clarify a few questions for me?
1. I think the path to the file I need is libraries/joomla/document/html/renderer/head.php - can you confirm this is the correct file?
2. Can the script be placed "as is" inside the <head></head> or does it need to be converted to a php function?
If it can be placed 'as is' can you suggest where exactly we should place it so it functions as a standalone?
3. Can you suggest the file where the second snippet can be placed permanently before the </body> tag?
Here is a link to the Charbeat documentation: http://support.chartbeat.com/docs/
Thanks.