In the world of data analytics, Page Views (PV) are like the outline of a map—they show us where users have been but fail to reveal what they did. Did a user hesitate before your login button, or click "Free Trial" without a second thought? Was your product video fully played? How often are key resources downloaded? These deep-level user interactions are the true pulse that drives business growth.
Today, we are thrilled to announce the full launch of Data4's Custom Events tracking feature! This launch marks a significant step for your data analytics capabilities, moving from macro "traffic observation" to a new stage of micro "behavioral insight".
Why Track Custom Events?
Every key interaction point in a typical user journey holds valuable information:
-
Marketing & Conversion Evaluation: Click-through rates on buttons like "Get Started" or "View Demo" directly reflect the effectiveness of marketing campaigns and user conversion intent.
-
Product & User Experience Optimization: Do users prefer "One-Click Login" or "Email Login"? On which pricing page do they stay the longest and finally click "Upgrade"? This behavioral data is a goldmine for optimizing product design.
-
Content Value Measurement: Events like whitepaper downloads and video completions help you assess the actual value of different content assets.
In the past, capturing these details often required complex development work. Now, Data4 makes it simple and straightforward.
A Complete Overview: From Data Collection to Multi-Dimensional Insight
Data4's Custom Events provide a complete solution covering data collection, visualization, and analysis.
1. Comprehensive and Clear Data Dashboard
Once you start sending custom events, all insights converge in the new "Events" module within the Overview and Comparison pages.
-
Event Statistics List: Here, you can see at a glance the total triggers for all tracked events and their percentage share of the total event count. Which Call-to-Action (CTA) is most popular? Which resource is most favored? The data gives you direct answers. You can click directly on any event name to quickly filter traffic related to that event, or click "More" to delve deeper on a dedicated page.
-
Interactive Trend Chart: How does event data change over time? We provide an intuitive trend chart. You can use the global time filter at the top to switch time ranges and observe event performance across different periods. Simultaneously, you can click on chart legends to freely show or hide specific events in the graph, allowing you to focus on the data series you care about and clearly grasp the fluctuations and trends of user interaction patterns.

2. Powerful Period Comparison Analysis
True insight often comes from comparison. We have empowered the "Events" dimension with robust comparison capabilities.
In the Comparison page, you can easily compare the performance of the same event across different time periods. For example, you can compare the click data for a "Login Button" during a marketing campaign with the data from the week before the campaign, thereby precisely quantifying the campaign's impact on user login behavior. This provides indisputable data evidence for evaluating the ROI of product iterations, operational strategies, and marketing activities.

3. Flexible and Precise Filtering Capabilities
To help you quickly locate target information from vast amounts of data, we have added an "Events" entry to the filter.
You can use conditions like "Equals," "Does Not Equal," "Contains," and "Does Not Contain" to filter precisely based on event names. When you filter for a specific event (e.g., free-trial_resource_footer), the system will only show data related to users who triggered that event. This means data in other dimensions—such as source domain or landing page—may become highly concentrated or even approach zero. This is expected and confirms that you have successfully filtered out the noise, allowing you to focus precisely on the group of users who performed that specific action.

How to Start Tracking? Two Integration Methods for Simplicity and Flexibility.
We offer two integration methods to suit users with different technical backgrounds and scenarios of varying complexity.
Method 1: Data Attributes (Recommended for Front-end Developers)
Embed tracking directly via HTML attributes without writing JavaScript.
<!-- Basic: Define a click event named "Login Button" -->
<button data-data4fun-event="Login Button">Login</button>
<!-- Advanced: Pass custom event data simultaneously -->
<a href="#"
data-data4fun-event="Nav Menu Click"
data-data4fun-event-section="Solutions"
data-data4fun-event-submenu="true">
Our Solutions
</a>
Please Note: Event data set via this method will uniformly be converted to string type.
Method 2: JavaScript API (Recommended for Developers)
For scenarios requiring more complex logic and richer data types, you can directly call our provided JavaScript API.
// Track a simple event
data4fun.track('Login button');
// Track an event with rich attributes
data4fun.track('Resource Download', {
resourceName: '2024_Whitepaper.pdf',
fileType: 'pdf',
downloadSize: 2048, // Supports number type
isPremium: true // Supports boolean type
});
This method allows you to pass various data types like strings, numbers, and booleans, meeting more detailed analysis needs.
Version and Billing Notes
Custom Events will count towards your total event count, just like Page Views. Please be mindful of your monthly event quota in the Free and Pro plans. You can check your usage under "Team Manage- Cost Center" and flexibly adjust your plan according to business growth.

Conclusion: Opening a New Chapter in User Behavior Insight
Data4 is always committed to transforming complex data technology into accessible business insights for you. The launch of the Custom Events feature is another practice of this philosophy. It grants you unprecedented capability to understand, quantify, and ultimately optimize every key user action.
Take action now and explore the story behind every click.
View detailed help documentation: Data4 Custom Events Complete Guide