Google Analytics Modules

From Aspire Digital Solutions Software
Jump to navigation Jump to search

About Google Analytics Modules

This WHMCS addon module that allows the clients to see Google analytics reports through different chart visualizations. The module will allow you to see the data studio that's configured by the admin for a particular client. This module also has the feature regarding Google Analytics 4(GA4). It is a new property designed for the future of measurement. It collects both website and app data to better understand the customer journey. It uses event-based data, instead of session-based. Using GA4, it helps in direct integrations to media platforms and drive actions on your website or app.

Note: On July 1, 2023, standard (UA)Universal Analytics properties will no longer process data. You'll be able to see your Universal Analytics reports for a period of time after July 1, 2023. However, new data will only flow into (GA4)Google Analytics 4 properties.

Requirements

1. License Key

2. Client ID

3. Secret Key

How to upload the module files

1. Download the zip file and extract it under whmcs_installation_dir/

Google Analy 1.png

2. Now login to the WHMCS Admin panel and navigate to Configuration > System Settings > Addon Modules or prior to WHMCS 8.0 Setup > Addon Modules and addon will be listed.

3. Click Activate under the "Google Analytics" addon. The addon is now activated within your WHMCS.

How to setup google analytics module

1. To see the reports of google analytics, you should have your google credentials. If you don’t have your google credential , then follow the steps from the given link.

Reference link to create Google credentials - Link We have defined the callback URL, Use this link as callback url in your Google Api Console.

Google Analy 2.png

2. After getting the google credentials fill the details and tick on Administrator then click on Save Changes button. Now, this module is ready to use.

How to configure the Admin side for Google account connection and Google Analytics report type

1. Login to the admin area.

2. Click on Addon > Google Analytics.

i) This page will show all the client list with status of client’s google connection. If the client is connected then it will show a button to Disconnect with Google or it will also show the account list for google analytics reports otherwise it will show a button to Connect with Google.
ii) Admin can configure the Report type of google analytics account.

.

iii) Admin can configure the account from the account list to show the report on client side.
iv) Admin can configure the Data studio of selected client and admin also can update the data studio any time.
Google Analy 3.png

3. When admin user will click on "Connect with Google" button the page will redirect to the google authentication page.

Google Analy 4.png

4. After successfully authentication it will redirects to the same page with a success message and select the account list option, admin user can set an account from the account list for Google Analytics reporting.

Google Analy 5.png

How to set the Data studio Report

1. Click the "Configure Data Studio" button, it will show a popup window, fill the iframe.

2. Click on the check button to validate the iframe and then click on the submit button.

  • Also, the Admin can update existing Data Studio details for a client.
Google Analy 6.png

Note: Only the admin users can set the Data Studio. Data studio will visible to client only if the admin user has set it for the client

How Admin can set the required product list

1. Go to client Area menu tab.

2. Now select the required products you want to select and click on save changes.

Google Analy 7.png

Note: If admin user has not selected any product then google analytics reports is visible to all clients otherwise the report will show to only those user who have the service related to the selected products. Client has at least one service related to the selected products, only then he can use the google analytics options

How to Hide Analytics Report for client

Admin user can hide the reports for selected clients.

1. Go to client Area menu tab.

2. And select the client from the Hide Analytics Report and click on save changes.

Google Analy 8.png

Admin user can set the menu label and names for visibility on client area.

There will be three menus on the clientarea.

1. Analytics
2. Data studio
3. Analytics Setting
MicrosoftTeams-image (88).png

Note: You can add a parent menu name for all the options your sub menu will be visible under the parent menu.

How the navigation menu works and how user can add icons and change menu names

Admin users can add a parent menu name for all the options your sub menu will be visible under the parent menu.

i) Admin have to select the menu type of the label, if he had selected the child then admin can add a parent menu name otherwise the label name will be his parent menu name and also for the child menu name.
ii) Admin can add Menu Label name for the navigation tab.
iii) Admin can add font awesome icon for the navigation.
iv) Admin can set the order number for visibility of the navigation.
v) Admin can select the clients if he wants to hide specific the menu navigation to particular clients.

Note : Admin user can change the these name and label name any time.

  • Case 1: Menu type child
When menu type will be child then there will be option to add parent menu name and then the entered menu label name will be visible under the parent menu name.
Gg1.png

The Output come from the child type will be looked like this.

Gg2.png
  • Case 2: Menu type parent
When menu type will be parent then there will a single navigation menu on clientarea.
Gg3.png

The Output from parent type will be looked like this.

Gg4.png

NOTE: Admin user can add for all three type navigation all will be work the same as above defined. If there is same Parent menu name for all the three options then all the sub menu name, will be visible under single parent navigation

Output: If there is same parent name for all three options.

Ggg5.png

How client area menu will look to your clients

1. Go to module settings under Addon > Google Analytics in the admin area.

Google Analy 10.png
  • WHMCS user also can connect his account with the google analytics. After connecting the account by ownself he can select the report type and select the account also, but if the google connection, has been made by admin user then he will not be able to change the account for reporting.

Client can see the google analytics report

  • It will show a google analytics report with four different charts.

By default, it shows the reports of the last 30 days. Clients can easily set the start and end dates from the date range option.

Google Analy 11.png

Client can connect their own Google Analytics account

  • If the Client has not connected with the google account it will redirect to the settings page for connecting.
Google Analy 12.png
  • After Successfully connecting with Google, the client can select the account for reporting. If the client is already connected with google, then get the option to Disconnect with google.

Client can see the data studio report

If Admin user has set Data Studio for a client only then the client can see an option Data Studio under Google Analytics.

Google Analy 13.png