Adding Google Analytics to your WHMCS template
WHMCS have since released a official module that makes installing Google Analytics very easy making the following guide no longer required (unless you’re using a version under 4.5).
In this tutorial we’ll cover how to add Google Analytics to your WHMCS based website. This tutorial is aimed specifically at our premium WHMCS Theme but will work with any WHMCS template.
Once added your code should look like:
Finaly to install your code open the following file:
and the code just before the following tag (at the bottom of the footer.tpl file):