Skip to main content

Google Analytics Settings

This documentation will guide you to properly configure your Google Analytics settings to correctly integrate your WHMCS with Google Analytics 3 and 4 (GA4) properties.

Google Analytics 4

caution

These configurations are valid only for Google Analytics v4 (GA4) Properties.

Custom Dimensions

To get the values from the events triggered from WHMCS GTM module in Google Analytics 4 you need configure Custom Dimensions to collect the metrics for you property.

The available metrics is based on the user properties, to configure these definitions on the left menu on GA4 go to Configure -> Custom definitions.

WHMCS GA4 Settings Configuration

Click Custom definitions under Configure (in the left navigation), then click Create custom dimensions.

WHMCS GA4 Custom Definitions

In Custom dimensions create the follow dimensions related to User Properties scope that WHMCS GTM module will bind to GA4:

Dimension nameDescriptionScopeUser Property/Parameter
languageWHMCS language that user is using (ex.: english)Userlanguage
localethe user locale related (ex.: en_GB)Userlocale
Logged Inif user is logged in (true) or not (false)Userloggedin
templatecurrent active template for user (ex.: sixUsertemplate
userIDif user is logged in, will contain the respective UUIDUseruserID
userTypecan be client (logged) or visitor (no logged)UseruserType

These user-scoped custom dimensions will identify static or slowly changing attributes of your users in GA4 reports.

WHMCS GA4 User Properties

Google Analytics 3

caution

These configurations are valid only for Google Analytics v3 Properties.

Enhanced Link Attribution improves the accuracy of your In-Page Analytics report by automatically differentiating between multiple links to the same URL on a single page by using link element IDs.

To better link attribution enable in Property Settings the option Use enhanced link attribution.

A demonstration video is available at https://youtu.be/2cSU_lA8_Ws

Enhanced Ecommerce Settings

Tag Manager & Enhanced Ecommerce for WHMCS module implement Google Analytics Enhanced Ecommerce property to all products. The enhanced ecommerce enables the measurement of user interactions with products on WHMCS across the user's shopping experience, including: product impressions, product clicks, viewing product details, adding a product to a shopping cart, initiating the checkout process, transactions, and refunds.

To enable Enhanced Ecommerce Reporting go to Admin > Account > Property > View> Ecommerce Settings. This option is view based so if you have more then one property view with enhanced ecommerce enable for that. Check on to Enable Ecommerce and Enable Enhanced Ecommerce Reporting options.

whmcs-google-analytics-08