create a file named piwik.js conaining the tracker code from piwik frontend
then run
find . -type f -name "*.htm*" -exec sed -i -e '/<\/body>/{r piwik.js' -e N -e '}' {} \;
have fun!
create a file named piwik.js conaining the tracker code from piwik frontend
then run
find . -type f -name "*.htm*" -exec sed -i -e '/<\/body>/{r piwik.js' -e N -e '}' {} \;
have fun!