Table of Contents
Setting up Fathom to automate product usage tracking in Intercom can significantly enhance your customer engagement and support strategies. This guide provides a step-by-step process to integrate these tools seamlessly, allowing for real-time insights and improved user experiences.
Prerequisites for Fathom and Intercom Integration
- An active Fathom account
- An Intercom workspace with admin access
- Basic knowledge of JavaScript and web analytics
- Access to your website’s codebase or tag manager
Step 1: Set Up Fathom on Your Website
Begin by installing Fathom on your website to track user interactions. Add the Fathom tracking script to your site's header or use a tag manager for easier management. Verify that Fathom is collecting data correctly by visiting your website and checking the dashboard.
Step 2: Define Key Product Usage Events
Identify the specific user actions that indicate product usage, such as feature clicks, page visits, or form submissions. Implement custom event tracking in Fathom by adding JavaScript snippets to capture these interactions.
Example: Tracking a Feature Click
Add the following code to the element representing the feature:
fathom.trackGoal('FEATURE_CLICKED', 0);
Step 3: Send Usage Data to Intercom
Use Intercom’s JavaScript API to send custom user events based on Fathom data. Set up event listeners in your website code that trigger when a Fathom event occurs, then call Intercom’s trackEvent method.
For example:
document.addEventListener('fathomEvent', function(event) {
if (event.detail.goalName === 'FEATURE_CLICKED') {
Intercom.trackEvent('feature_clicked');
}
});
Step 4: Automate User Segmentation and Messaging
Leverage Intercom’s automation features to trigger targeted messages based on user activity. Create segments for users who have engaged with specific features or reached certain milestones, and set up automated campaigns to nurture or support them.
Step 5: Test and Validate the Integration
Test the entire setup by performing product actions and verifying that Fathom records the events correctly. Check Intercom to ensure events are received and trigger the appropriate automations. Troubleshoot any issues by reviewing console logs and network requests.
Conclusion
Integrating Fathom with Intercom for automated product usage tracking enables a more dynamic and personalized user experience. By following these steps, you can gain valuable insights and automate your engagement strategies effectively.