Enable Integration with Mixpanel

By enabling Mixpanel integration you can,

  1. Send data from your HappyFox Chat account to Mixpanel.
  2. Track your visitor's behavior on the chat widget installed on your website.
  3. View visitor engagement information from Mixpanel during an ongoing chat.

Only Admin has the access to Integrate Mixpanel with HappyFox Chat.

The integration is available from Mighty and above plans.

Prerequisite for Mixpanel integration:

Get API Key and API Secret from Mixpanel:

  1. Login to your Mixpanel account.

  2. Click Account. You will get a pop-up window.

  3. Now click on the Projects tab. Copy the API Key and API Secret.

Steps to Integrate Mixpanel with HappyFox Chat:

Step 1: Login to your HappyFox Chat Account.

Step 2: Go to Apps --> Mixpanel.

Step 3: Click on "TRY FOR 7 DAYS" button.

Step 4: Paste the API Key and the API Secret Key and Click the Connect button.

Step 5: Now update your preferences under Settings and click Update Settings.

Settings for logging visitor widget events to Mixpanel:

  1. Copy Mixpanel's tracking library code and paste it into your website's source code where the HappyFox Chat widget has been installed.

  2. Login to your Mixpanel account and Go to Segmentation and view the visitor widget events recorded from HappyFox Chat.

Now you have successfully connected you Mixpanel and HappyFox Chat account.

On HappyFox Chat account, 

  • If "Show visitor info from Mixpanel during a chat" setting is toggled ON, the agent chat window will display the visitor information from the connected Mixpanel account. Clicking on the link will display the details of the visitor from Mixpanel account. Please refer to the screenshot below,

Note: To refresh the customer information area, simply type '!' and choose !refreshvisitordata.

  • If "Log visitor widget events to Mixpanel" setting is toggled ON, the below events will be logged into your connected Mixpanel account:
  1. Chat badge clicked 
  2. Chat started
  3. Chat ended
  4. Agent joined a chat
  5. Offline message sent
  6. Triggered chat activated