I have a web site hosted on an a Apache web server. Another person uploads static html files to a folder each week via an ftp generated from third party software.
I am looking to insert Goggle Analytics code to each page as it is rendered while preserving the URL's, original HTML and process of uploading. I do not know when the files are uploaded or the page names (there are 100's of files uploaded each time).
I initially thought of setting the html to be parsed with the PHP engine however this is not suitable as the pages do not contain PHP code and I do not modify the HTML pages through find and replace.
Is there a way to use the php engine to process the page injecting code just before the end of the page? Or some other approach.