Enable integration with Google Analytics

By integrating Google Analytics with HappyFox Chat, you can track chat widget events like Chat window opened (by the visitor), Agent joined the Chat, Chat started, Offline Message sent and Triggered Chat activated.

This integration is available in Mighty and above plans.

Prerequisite for the integration:

  • Login to your Google Analytics account.
  • Go to Admin →  Click Tracking Info → Tracking code.

  • Copy the Tracking code


  • Paste this Tracking code from Google Analytics account above the </body> tag of your website’s source code. 

Copy Javascript code to </body>

Important Note: Incase, if you have not installed HappyFox Chat on your website already, copy the installation code under Manage → Installation from your HappyFox Chat account and paste it above the </body> tag in your website’s source code.

Steps to enable Google Analytics on HappyFox Chat:

Step 1: Login to your HappyFox Chat Account.

Step 2: Go to Apps → Google Analytics.

Step 3: Click on INSTALL button.

Step 4: Click on Enable button on the resultant page.

Step 5: Once you click enable button, HappyFox Chat code will detect the Google Analytics code automatically and logs chat related events to it.

You are all set to see live events data logged from HappyFox Chat account!

To view these events on your Google Analytics account:

Go to Reporting → click Real-Time from the menu on the left pane. Choose Events from the list under Real-Time. You can see Events that are logged from HappyFox Chat.

What Next?

Get started now and view the live stats of your HappyFox Chat account by enabling Google Analytics integration.