This help center article explains how to integrate Google Analytics with BeDesk to track your help center's performance and view detailed reports within the admin area.
Integrating Google Analytics with BeDesk allows you to track website traffic and user behavior, providing valuable insights into how your help center is being used. This integration powers the Google Analytics report in admin area and agent dashboard, offering a comprehensive overview of key metrics.
Help Center Tracking: By adding your Google Analytics Measurement ID, you can start tracking help center page views, user demographics, and other valuable data.
Integrated Reports: View detailed google analytics report directly within the BeDesk, eliminating the need to switch between different platforms.
In-Depth Insights: The report page provides a variety of metrics, including:
Pageviews: Track the number of pages viewed over specific periods.
Top Devices: See which devices (desktop, tablet, mobile) your visitors are using.
Top Locations: Understand the geographical distribution of your audience.
Top Browsers: Identify the most popular browsers used to access your help center.
To enable Google Analytics integration, you'll need to configure the settings in the BeDesk admin area.
The Google Analytics report in the admin area is powered by Google Analytics, so you will need to register for the service and add the relevant credentials to the settings page.
Go to the Google Analytics website. You will be prompted to log in to your Google account or create a new one.
If you don't have any properties set up, click the "Start Measuring" button. Otherwise, go to Admin → Create New Property.
In the "Data Streams" section, select "Web," enter your site URL, and click "Create stream."
The "Measurement ID" is the value you will need to enter in the settings page.
If you only want to enable tracking on your site and don't need to view analytics in the admin area, you only need to enter the Measurement ID in the settings and can skip the rest of this article.
To get your service account key file, go to the Google APIs site and create or select a project.
You will need to enable the "Google Analytics Data API." Click on "Library," find the "Google Analytics Data API," select it, and then click "Enable."
Now that you've created a project with access to the Analytics Data API, you can download a file with the credentials. Click "Credentials" in the sidebar and then the "CREATE CREDENTIALS" button. You'll want to create a "Service account."
On the next screen, you can give the service account a name. You can name it anything you'd like. In the service account ID, you'll see an email address. Note this address, as it will be needed later.
Next, select the "Project → Owner" role.
Click "Continue" and then "Create." When the service account is created, click the edit button next to it, then click "Keys" → "Add Key" → "Create new key." Select "JSON" as the key type and click "Create" to download the .json
key file.
You will need to upload this file from the Admin → Settings → Analytics page on your site.
Go back to the Google Analytics site and navigate to the "Property access management" page in the Admin section of the property.
Add a new user using the email address you saved earlier. Make sure you use the Google service account (ending with .iam.gserviceaccount.com
) and not your personal email address.
The last thing you'll need to do is fill in the credentials on the Admin → Settings → Analytics page. You have the Measurement ID and the service account .json
file from the previous steps. Get the Property ID from the "Property Settings" in the Admin section of your property on the Google Analytics site.