PanelAlpha Documentation
Back Home
Live Demo Get Started

Google Analytics

Documentation
    Introduction FAQ Automatic Tester
Getting Started
    Requirements Installation Update Guide SSL Configuration Resetting Admin Password Translations Health Check Diagnostic Mode Additional Configuration
Background Billing
    Introduction Billing System Quick Registration Social Media Login Client Area
Admin Area
    Dashboard Instances Services Users Logs Migrations
Onboarding Methods
    Quick Onboarding Super Quick Onboarding Standard Onboarding
System Configuration
    General Configuration Branding Hosting Servers DNS Servers Email Servers Remote Backups Plans Notifications Automatic SSL Themes, Plugins and Packages
Hosting Server Connections
    Hosting Scenarios PanelAlpha Engine for Docker cPanel Plesk DirectAdmin WP Cloud
Email Server Connections
    Mailcow cPanel
DNS Server Connections
    Cloudflare cPanel DNS Only PowerDNS
Billing Systems Integrations
    WHMCS
Billing Scenarios
    Introduction Single WordPress Instance Predefined WordPress Template Multiple WordPress Instances Cross-Selling Paid Plugins and Themes Cross-Selling Domains Plan Upgrade
Integrations
    Integrated Solutions AWStats Matomo Google Analytics Let's Encrypt Google PageSpeed Insights DB-IP Extendify WithoutDNS
Client Area - Instances
    List of Instances Creating New Instance Importing Existing Instance Instance Details Changing Domain Sharing Instances Monitoring Backups Plugins Advanced Settings
Client Area - Hosting
    Summary Domains FTP Accounts MySQL Databases Cron Jobs File Manager DNS Zone Editor Email Addresses Email Forwarders

# Google Analytics

Integration with Google Analytics has been introduced to gather and assess data regarding website traffic.

Google Analytics is a service that tracks and reports website traffic. It provides insights into user behavior, it will help you understand how visitors interact with a WordPress website and make data-driven decisions.

# Configuration

Google Analytics requires no installation, so you can instantly proceed to its configuration. To start using the Google Analytics integration, navigate to Configuration → Integrations. Once there, find Google Analytics among the other Site Statistics intergations. Enable it by pressing the switch, and you will be taken to the configuration form immediately.

To complete the required information, namely the Account ID and the Service Account Credentials, please follow the steps below. You will be guided step by step on how to generate these data.

# Google Anlytics Account ID

  1. Go to the Google Analytics (opens new window) website.

  2. Log into your Google account if not already logged in.

  3. Create a Google Analytics account.
    You will be guided step by step on the site account creation page. For the purposes of the PanelAlpha system, you may skip the last step (number 5) regarding data collection configuration.

  4. Once your account is ready, navigate to Admin → Account Settings → Account Details and find your Account ID as marked on the screen below.

Once you have your Account ID configured, follow these steps to configure the JSON file.

# Google Anlytics JSON file

  1. Navigate to Google Cloud APIs (opens new window) website.

  2. Once there, create a new project by clicking on New Project in the project list.

  3. Open the newly created project, and go to APIs & Services → Library in the left side menu.

  4. Use the search field to find Google Analytics Data API and Google Analytics Admin API. Open each one and click Enable.

  5. After creating a project with access to the Analytics API, you need to obtain a file containing these credentials. Navigate to the sidebar and click on Credentials. Then, select Create Credentials → Service Account.

  6. When filling out the service account details, make sure to copy its email address from the Service Account ID field, as it will be needed later.

  1. Open your newly created service account, proceed to Keys tab, there click Add Key → Create new key.
  1. Select JSON as the key type and click Create to download the JSON file.
  1. Go back to Google Analytics (opens new window) to grant permissions to your account.
  2. Navigate to the admin section → Property Access Management. Then, click the Plus sign in the top right corner to add a new user.
  3. Enter the saved email address (refer to step 10) and assign the role of Administrator.

# PanelAlpha configuration

  1. Now that you have all the required information, go back to the PanelAlpha admin area → Configuration → Integrations → Google Analytics. Paste the Account ID (refer to step 4), and the saved JSON file (refer to step 11) into the Service Account Credentials field in the configuration form.