Google Analytics code not included

I've added the tracking code in VM Pro and can see that in the Apache virtual host config 3 directives have been added as usual

PerlRequire /etc/webmin/virtualmin-google-analytics/apachemod.pl
PerlOutputFilterHandler Virtualmin::GoogleAnalytics
PerlSetVar AnalyticsID UA-324086-8

but the HTML code won't be appended to the end of the site output as expected. I restarted Apache to no avail.

Any ideas what I might be missing here?

Status: 
Closed (fixed)