How to Integrate Google Analytics With ProProfs Live Chat


ProProfs Live Chat Google Analytics Integration enables you to record visitors’ live chat actions in your Google Analytics account. The integration pushes the data to your Google Analytics account via the Analytics JavaScript. 
You need to save your account id (e.g. UA-123456-1) in your dashboard and then follow these steps to see statistics in your Google Analytics account.


If you want to track chat form, offline messages form, and survey form statistics in Google Analytics, you need to generate code for multiple domains from your Google Analytics account or replace existing codes in your web pages with the following codes after replacing your Google Analytics account Id (UA-xxxxxx-x).


<!-- Google Analytics →
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
ga('create', 'UA-XXXX-Y', 'auto');  // Replace with your property ID.
ga('send', 'pageview');
<!-- End Google Analytics -->


Here's how you can integrate ProProfs Live Chat with Google Analytics:

Step 1: On your ProProfs Live Chat dashboard, go to Settings >> Integration >> Analytics and Enable Google Analytics integration.

Enable Google Analytics integration.


Step 2: Paste your Google Analytics account Id (UA-xxxxxx-x).


Paste your Google Analytics account Id



Make sure you have both the ProProfs Live Chat code and Google Analytics tracking code installed on your sites to log all the information coming from ProProfs Live Chat to your Google Analytics account.


Here's how you can retrieve your Google Analytics account Id (UA-xxxxxx-x) and script:

Step 1: Navigate to Admin >> Tracking code.

Navigate to Admin and Select Tracking code.


Step 2: Copy the Tracking code.

Copy the Tracking code.


You can now set goals for different Chat window URLs given below, or you can see reports without setting goals in your account under ‘Visitors’ -----> ‘Custom Variables’ for chats from separate chat IPs.


Here's how you can set goals in the Google Analytic's panel:

Step 1: Under Settings, go to Goals >> Goal setup >> Custom.


Navigate to Goals and Select Goal setup and Click on Custom.


Step 2: Under Goal description, enter the name of the goal and set the goal type as Event.


Set the goal type as Event


Step 3: Set the Goal details.


Set the Goal details.


Following are the three Goal categories:

1. Pre chat

2. Post chat

3. Offline Messages


When all three goal categories have been set, their respective data will be visible in the realtime report, as shown in the screenshots below:


Data will display in the realtime report






Was this information helpful?

The page cannot be found

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Please make sure you spelled the page name correctly or use the search box.

add chat to your website