Knowledgebase

How to Configure the Snowtech Google Analytics Widget Print

  • whmcs google analytics setup, ga4 whmcs configuration, google api whmcs config, search console whmcs setup, whmcs ga widget setup, connect google analytics whmcs
  • 0

This guide explains how to configure the Snowtech GA Widget to connect Google Analytics 4 and Google Search Console to WHMCS.


Step 1 – Create a Google Cloud Project

  1. Go to Google Cloud Console
  2. Create a new project

Step 2 – Enable APIs

Enable the following APIs:

  • Google Analytics Data API
  • Google Search Console API

Step 3 – Create Service Account

  1. Go to IAM & Admin → Service Accounts
  2. Create a new service account
  3. Generate a JSON key
  4. Download the file

Step 4 – Upload JSON Key

Upload the JSON file to your server outside public_html.

Recommended path:

/home/USERNAME/whmcs_secrets/google-service-account.json

Step 5 – Grant GA4 Access

  1. Open Google Analytics
  2. Go to Admin → Property Access Management
  3. Add the service account email
  4. Assign role Viewer

Step 6 – Grant Search Console Access

  1. Open Search Console
  2. Select your property
  3. Go to Settings → Users and Permissions
  4. Add the service account email

Step 7 – Configure WHMCS Addon

Go to:

Addons → Snowtech GA Widget

Enter the following:

Setting Description
GA4 Property ID Numeric ID from Google Analytics
Search Console Property Example: https://example.com/ or sc-domain:example.com
Service Account JSON Path Full server path to JSON file
Widget Height e.g. 650px or 70vh

Step 8 – Save Settings

Click Save Changes to apply configuration.


Configuration Complete

Your widget will now begin displaying Google Analytics and Search Console data.


Was this answer helpful?

« Back