You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
Home > App Integrations > Enable integration with Segment
Enable integration with Segment
print icon

By integrating Segment with HappyFox Chat, you can track chat widget events like Chat badge clicked (by the visitor), Agent joined the Chat, Chat started, Chat ended, Offline Message sent and Triggered Chat activated.

This integration is available in all the plans.

Only Admin has the access to integrate Segment with HappyFox Chat.

Prerequisite for the Integration-Get Analytics.js code:

1. Log in to your Segment account.
2. Click Add source.

3. Choose source platform

4. Click Connect

5. Click on view details on the tile to fetch and install the Analytics.js code.

6. Copy the Write Key from this page (Save it to clipboard) → Click Follow the JavaScript guide link.

7. Copy the snippet (Analytics.js). Enter write key by replacing "You_Write_Key" in the code.

8. Paste the code above </body> tag of your website’s source code.

Steps for Segment-HappyFox Chat integration:

Step 1: Log in to your HappyFox Chat account.

Step 2: Go to AppsAnalytics → Segment

Step 3: Click TRY FOR 7 DAYS/INSTALL button.

Step 4: Click Enable

All being set, now Segment code will detect HappyFox Chat code automatically and logs chat related events to it. Go to Debugger and the following screens are displayed when the integration is successful.

 

For details on chat widget events, refer this article.

 

Get started now and view the live stats events tracked by enabling Segment integration with HappyFox Chat account.

Feedback
2 out of 3 found this helpful

scroll to top icon