Skip to main content

Google Analytics Goals for WHMCS

Goals measure how well your site fulfills your target objectives. A goal represents a completed activity, called a conversion, that contributes to the success of your business. Defining goals is a fundamental component of any digital analytics measurement plan. Having properly configured goals allows Analytics to provide you with critical information, such as the number of conversions and the conversion rate for your WHMCS. Without this information, it's almost impossible to evaluate the effectiveness of your online business and marketing campaigns.

Tag Manager & Enhanced eCommerce for WHMCS module enables you to create goals based on defined events that are triggered at certain stages of the shopping funnel.

caution

These configurations are valid only for Google Analytics v3 Properties.

Setup Purchase Goal

To measure a purchase goal, create a new goal of type Event:

whmcs-google-analytics-goal-01

In Goal details specify the event conditions:

Event ConditionValue
Categoryecommerce
Actionpurchase

Set Use the Event value as the Goal Value for the conversion to yes.

whmcs-google-analytics-goal-02

Setup other Event Goals

Goals are configured at the view level, to create a new goal navigate to the desired view, click Admin -> Goals. Next click + NEW GOAL.

You have 4 options for creating goals, to associate the WHMCS events with goals select Event from the list of options and click on Continue.

Configure the event conditions based on what event do you want to associate to this goal, see Available events for Goals table.

In Goal details set any of the actions available in the list above. Check to yes the option Use the Event value as the Goal Value for the conversion.

! All of these goals are optional, but we recommend configuring them for better tracking and reporting.

Available events for Goals

You can use any of the events listed bellow to set your GA goals.

Goal NameCategoryActionDescription
PurchaseecommercepurchaseTriggered on all orders added (client and admin area).
CheckoutecommercecheckoutTriggered on cart.php?a=checkout page view.
Cart ViewecommercecartViewTriggered on cart view page.
Product ImpressionecommerceproductImpressionTriggered when visitor is viewing a product group page.
Product ConfigurationecommercecartDetailTriggered on cart.php?a=confproduct product configuration page view.
Invoice ViewecommerceinvoiceViewTriggered when client access the invoice view page.
Domain RegistrationecommercedomainRegisterTriggered on cart.php?a=add&domain=register page view.
Domain ConfigurationecommercedomainProductConfigureTriggered when client is configuring a product domain.
Domain TransferecommercedomainTransferTriggered when a client is viewing the domain transfer page.
Domain SearchecommercedomainSearchTriggered when a client make a domain search for registration or transfer request. This action will receive the domain name searched on label property.
info

Configuration of goals are optional, but to better measure we recommend configure at minimum the purchase goal.