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
.
Click Custom definitions under Configure (in the left navigation), then click Create custom dimensions.
In Custom dimensions create the follow dimensions related to User Properties scope that WHMCS GTM module will bind to GA4:
Dimension name | Description | Scope | User Property/Parameter |
---|---|---|---|
language | WHMCS language that user is using (ex.: english ) | User | language |
locale | the user locale related (ex.: en_GB ) | User | locale |
Logged In | if user is logged in (true ) or not (false ) | User | loggedin |
template | current active template for user (ex.: six | User | template |
userID | if user is logged in, will contain the respective UUID | User | userID |
userType | can be client (logged) or visitor (no logged) | User | userType |
These user-scoped custom dimensions will identify static or slowly changing attributes of your users in GA4 reports.
Google Analytics 3
caution
These configurations are valid only for Google Analytics v3 Properties.
Use enhanced link attribution
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.