How to Add Google Analytics to WHMCS

Sometimes, adding Google Analytics to WHMCS template would break the template and cause issues. The best way to add tracking code is from the WHMCS administrative backend.

  1. Log into your WHMCS backend
  2. Go to Setup and Choose Addon Modules
  3. Activate Google Analytics
  4. Go into your Google Analytics account and take your Tracking ID. This can be done by clicking on the Admin tab and choosing the Property Settings. You can see the Tracking ID here.
  5. Copy the Tracking ID and paste it into your WHMCS and choose Universal Code as this provides a larger user data.
  6. Save and close. You are now all set to receive user data in your Google Analytics account.
Add Google Analytics Tracking Code in WHMCS
Add Google Analytics Tracking Code in WHMCS