Skip to main content

Modules

Overview

The Modules feature provides business teams with the ability to monitor user experience from a business perspective, supporting the customization of page combinations from multiple applications to create modules for cross-application business performance analysis. This helps business teams evaluate user experience from a business scenario perspective rather than being limited to individual technical application viewpoints.

Core Values

  • Business-Centric Monitoring: View user experience from business scenarios rather than technical applications
  • Cross-Application Analysis: Aggregate data from multiple applications to uniformly monitor complete business experience
  • Flexible Composition: Customize rules to quickly combine any pages into modules

What is a Module

A module is a monitoring unit composed of selected related pages from one or more applications within the same touchpoint based on business logic.

Examples

Business ScenarioApplications InvolvedComposition RuleBusiness Value
Real Estate - New PropertiesMain Web + Mobile WebAll pages containing /new-house/Unified monitoring of new property business user experience
E-commerce - Payment FlowPC Web + Mobile WebPages containing /checkout/, /payment/Understand payment flow user experience
Finance - Account OpeningWeChat Mini Program + Alipay Mini ProgramMatch all steps in /account/open/Optimize account opening flow user experience
Education - Course LearningMain Web + Course Sub-site WebContains /course/, /learn/Improve course learning experience

Technical Requirements

  • Supported Scope: RUM - Web Applications, MP (Mini Program) Applications
  • Integration Requirement: Applications must have MP JS or Web JS integrated
  • Data Aggregation: Supports data aggregation from multiple applications within a single touchpoint

Important Limitation: Moduless can only be created within a single touchpoint. For example, you can only select multiple applications under the Web touchpoint, or only select multiple applications under the MP touchpoint. Cross-touchpoint aggregation is not supported (Web + MP mixing is not allowed).

Use Cases

Case 1: Unified Multi-Application Experience Monitoring

The same business is implemented across multiple applications within the same touchpoint and requires unified monitoring and comparison.

Practical Example:

  • Search functionality is implemented on both PC Web and Mobile Web (both belong to Web touchpoint)
  • Create "Search Function-Web" business module to aggregate search pages from both sites
  • Discovered mobile site search is 1.5x slower than PC site
  • After targeted optimization, experience on both sites converged

Comparing Different Touchpoints:

  • To compare Web and Mini Program search experience, create two separate modules
  • Module 1: "Search Function-Web" (Web touchpoint)
  • Module 2: "Search Function-MP" (MP touchpoint)

Case 2: Product Line Performance Comparison

An enterprise has multiple product lines and needs to horizontally compare user experience across them.

Practical Example:

  • Real estate Web business divided into: New Properties, Second-hand Properties, Rentals (all Web touchpoint)
  • Created three separate business modules (all under Web touchpoint)
  • Discovered Rental module score significantly lower than other product lines
  • Targeted resource investment for optimization, Rental business score improved by 15 points

Core Features

1. Module Overview

Business Module Overview

Module overview displays core performance metrics for all business modules, supporting quick comparison and issue detection.

Application Scenarios

Quick Comparison

  • Horizontally compare performance across business modules
  • Identify modules with low scores or many anomalies
  • Evaluate user experience differences across business lines

Issue Alerts

  • Supports alerts to quickly discover anomalous modules
  • Modules with high slow page ratios need optimization
  • High JS error rates impact user experience

Business Decisions

  • PV/UV data supports traffic analysis
  • User experience scores support resource allocation
  • Performance comparisons support business priority decisions

2. Create Modules

Modules creation supports flexible rule configuration to meet various business scenario requirements.

Step 1: Add Module Name

Add Module

Access Path: Lite Apps → Modules → Top Right【Add Module】

Naming Recommendations

  • Use business language rather than technical terms (e.g., "New Property Business" rather than "new-house-app")
  • Clearly express business meaning (e.g., "Payment Flow", "Search Function")
  • Standardize naming for easier management (e.g., "E-commerce-Cart", "Finance-Account Opening")

Step 2: Select Dataset

Add Dataset

Feature Description

Select application data sources to aggregate, supporting:

  • Data Type (single selection): Web Applications, MP (Mini Program) Applications
  • Data Sources (multiple selection): Can select one or more applications
  • Cross-Application Aggregation: Achieve data aggregation for complete business processes

Selection Strategy

ScenarioSelection StrategyExample
Single Application BusinessSelect a single applicationOnly a functional module on the main Web site
Multi-Application Business (Web Touchpoint)Select multiple Web applications from the same touchpointPC Main Site + Mobile Site + Special Topic Site (all Web)
Multi-Application Business (MP Touchpoint)Select multiple Mini Program applications from the same touchpointWeChat Mini Program + Alipay Mini Program + Baidu Mini Program

Important Limitations

  • Can only select applications of the same touchpoint type
  • Web touchpoint and MP touchpoint cannot be mixed

Notes

  • Only displays applications that are integrated and have data reporting
  • Applications must be Web or MP type, cannot simultaneously select Web applications and Mini Programs
  • After saving, aggregation rules can be configured

Step 3: Add Aggregation Rules

Add Dataset

Rule Types

Moduless support three URL matching rule types:

Add Dataset

1. Contains Rule

  • Description: URL contains specified string
  • Example: Contains /product/ matches all product-related pages
  • Use: Simple scenarios, fixed path matching

2. Regular Expression Rule

Use Java regular expressions for flexible matching.

RuleDescriptionMatching Examples
^/user/get.*Match paths starting with /user/get/user/getInfo/uid_1001
/user/getCard/cid_01
^/user/(get|set).*Match get or set operations/user/getInfo/uid_1001
/user/setInfo/uid_1001
.*/product/[0-9]+$Match product details (numeric ID)/shop/product/12345
/mall/product/67890
^/(order|pay)/.*Match order or payment related pages/order/detail/123
/pay/confirm/456

3. Wildcard Rule

Use wildcards to quickly define matching patterns.

Wildcard Description

WildcardDescriptionExample
?Matches any single characterp?ttern matches pattern, pXttern
*Matches 0 or any number of characters*.jsp matches all JSP files
**Matches 0 or more directories**/example matches example under any path

Matching Examples

RuleMatching Results
mall.tingyun.com/app/*.xMatches all .x files under the app path of mall.tingyun.com domain
127.0.0.1:8080/app/p?tternMatches 127.0.0.1:8080/app/pattern and 127.0.0.1:8080/app/pXttern
Does not match /app/pttern
*/**/exampleMatches mall.tingyun.com/app/example
127.0.0.1:8080/app/foo/example
127.0.0.1:8080/example
mall.tingyun.com/app/**/dir/file.*Matches mall.tingyun.com/app/dir/file.jsp
mall.tingyun.com/app/foo/dir/file.html
mall.tingyun.com/app/foo/bar/dir/file.pdf
**/*.jspMatches all .jsp files under any path

Step 4: Save Configuration

After successful save, the system starts collecting and aggregating data:

  • Open the integrated application and visit the configured business scenarios
  • Wait approximately 5 minutes
  • Modules begins displaying data

Tip: Rules take effect immediately after configuration, but require time to accumulate data.

Rule Configuration Best Practices

1. Rule Design Principles

Business Completeness

  • Include all key pages in the business process
  • Do not miss core conversion paths
  • Cover the complete user experience journey

Rule Accuracy

  • Avoid overly broad rules that match irrelevant pages
  • Avoid overly strict rules that miss key pages
  • Test and verify rule matching effectiveness

Maintainability

  • Use clear rule comments
  • Keep rules concise and understandable
  • Facilitate future adjustments and extensions

2. Common Business Scenario Configurations

Scenario 1: Feature Module Monitoring (Web Touchpoint)

Requirement: Monitor search function experience (PC Web + Mobile Web, including search box, search results, filtering pages)

Configuration Example

Dataset: Select multiple applications under Web touchpoint (PC site, Mobile site)
Rule Type: Regular Expression
Rule: ^/search/.*
Description: Match all search-related pages

Scenario 2: Business Flow Monitoring (Web Touchpoint)

Requirement: Monitor complete ordering flow (PC Web + Mobile Web, from cart to payment success)

Configuration Example

Dataset: Select applications under Web touchpoint (PC site, Mobile site)
Rule Type: Regular Expression
Rule: ^/(cart|checkout|payment|order)/.*
Description: Match cart, checkout, payment, order pages

Scenario 3: Campaign Page Monitoring (MP Touchpoint)

Requirement: Monitor all Mini Program campaign pages for Double 11 event

Configuration Example

Dataset: Select Mini Program applications under MP touchpoint (WeChat, Alipay)
Rule Type: Regular Expression
Rule: ^/(activity|event)/2025-double-11/.*
Description: Match 2025 Double 11 campaign pages

3. Rule Debugging Techniques

Verify Rule Correctness

  1. Start with Small-Scale Testing

    • Visit expected pages after configuring rules
    • Check if correctly matched
    • Expand scope after confirmation
  2. Check Match Count

    • Review module PV count
    • Compare with expected traffic
    • Adjust if too many or too few
  3. Identify Missing Pages

    • Compare with business process, check one by one
    • Review original application's page list
    • Supplement rules for missing pages

Common Issue Handling

IssueCauseSolution
Rule not effectiveSyntax error, path mismatchCheck regex syntax, confirm URL format
Too many matched pagesRule too broadTighten rule, add constraints
Missing key pagesRule too strictRelax rule, use OR conditions
Inaccurate dataRule conflictsOrganize rules, avoid duplicate matching

Module Analysis

Feature Description

Module analysis functions are consistent with Web and MP applications in "Terminal Applications"

Differences from Application Analysis

Data Scope

  • Application Analysis: All data from a single application
  • Module Analysis: Business data filtered by rules (can span multiple applications)

Analysis Perspective

  • Application Analysis: Technical perspective, application-based
  • Module Analysis: Business perspective, business process-based

Application Value

  • Application Analysis: Suitable for R&D teams for technical optimization
  • Module Analysis: Suitable for business teams for business optimization

Analysis Methods

1. Business Health Assessment

  • Review module scores to assess overall business quality
  • Compare scores across different Moduless
  • Identify businesses requiring optimization

2. Business Process Optimization

  • Review page performance in business process order
  • Identify performance bottlenecks in the process
  • Optimize key conversion nodes

3. Cross-Platform Experience Comparison

  • Compare performance of the same business on different platforms
  • Assess multi-platform experience consistency
  • Optimize platforms with poor experience

Business Application Scenarios

Scenario 1: Product Line Resource Allocation

Decision Process

1. Create modules for each product line
↓ e.g., New Properties, Second-hand, Rentals

2. Compare module scores
↓ Identify underperforming product lines

3. Analyze traffic and value
↓ Combine PV/UV with business value

4. Develop optimization plan
↓ Prioritize high-value, low-score modules

Decision Example

  • New Properties: Score 85, PV 1M, high value
  • Rentals: Score 68, PV 500K, medium value
  • Decision: Prioritize Rentals module optimization (high cost-effectiveness)

Scenario 2: Campaign Operations Assurance

Pre-Campaign

  1. Create campaign module, configure campaign page rules
  2. Load test to verify performance, set alert thresholds
  3. Prepare emergency response plans

During Campaign

  1. Real-time monitoring of module scores and core metrics
  2. Focus on slow page ratios and JS error rates
  3. Respond quickly to anomalies, ensure campaign success

Post-Campaign

  1. Evaluate performance during campaign
  2. Summarize issues and optimization insights
  3. Provide reference for next campaign

Scenario 3: Multi-Touchpoint Experience Comparison

Comparison Process

1. Create modules for different touchpoints for same business
↓ e.g., Search Function-Web (PC + Mobile Web)
↓ Search Function-MP (WeChat Mini Program + Alipay Mini Program)

2. Review performance metrics for each touchpoint
↓ Identify touchpoints with poor experience

3. Analyze difference causes
↓ Technical implementation, network environment, platform characteristics

4. Establish consistency standards
↓ Achieve unified performance standards across touchpoints

Best Practices

Modules Planning

Planning Principles

  • Core Business First: Prioritize creating modules for core conversion flows
  • Appropriate Granularity: Not too coarse (entire website) or too fine (single button)
  • Continuous Iteration: Adjust modules based on business changes

Recommended Modules

Business TypeRecommended PagesDescription
E-commerceHomepage, Search, Product Details, Shopping Cart, Payment FlowCovers complete user purchase journey
FinanceHomepage, Account Opening, Deposit, Trading, WithdrawalCovers complete fund transaction flow
ContentHomepage, Categories, Details, Playback, CommentsCovers complete content consumption journey
Local ServicesHomepage, Search, Stores, Ordering, ReviewsCovers complete service consumption journey
Enterprise ServicesHomepage, Products, Registration, Trial, PurchaseCovers complete customer conversion journey

FAQ

Q1: Can a page belong to multiple moduless?

A: Yes. The same page can be matched by rules from multiple moduless.

Example Scenario

  • Page: /product/12345
  • Matched by Module 1: "Product Details" (Rule: ^/product/.*)
  • Matched by Module 2: "Double 11 Campaign" (Rule: /product/.*\?activity=1111)

Notes

  • Data is not double-counted, each module tracks independently
  • Design rules reasonably to avoid unintended matches
  • Too many duplicates may impact data query performance

Q2: What's the difference between Modules and Application Analysis?

A: The difference is primarily in analysis perspective and data scope.

Comparison

DimensionApplication AnalysisModules Analysis
PerspectiveTechnical perspectiveBusiness perspective
ScopeAll data from a single applicationBusiness data filtered by rules
GranularityApplication levelBusiness function level
Cross-ApplicationNot supportedSupports aggregation across multiple applications
UsersR&D, Operations teamsBusiness, Product, Marketing teams
FocusTechnical metrics, code issuesBusiness metrics, user experience

Usage Recommendations

  • R&D Teams: Use application analysis to locate technical issues
  • Business Teams: Use module analysis to evaluate business performance
  • Collaborative Optimization: Combine both for comprehensive analysis

Q3: How to verify if rule configuration is correct?

A: Verify through the following methods:

1. Test Access

  • After configuring rules, visit expected matching pages
  • Wait 5 minutes
  • Check if module has data reporting

2. Check PV Count

  • Compare module PV with expected traffic
  • Too many PVs: Rule too broad
  • Too few PVs: Rule missing pages or too strict

3. Review Page List

  • Enter module's page analysis
  • View actual matched page list
  • Confirm if it meets business expectations

4. Incremental Debugging

  • Configure simple rules first, verify basic functionality
  • Gradually add complex rules
  • Verify after each adjustment

Q4: Can module rules be modified?

A: Yes, but be mindful of data continuity.

Modification Method

  1. Enter module list
  2. Find the module to modify
  3. Edit rule configuration
  4. Save to take effect

Notes

  • After rule modification, new data is collected according to new rules
  • Historical data still follows old rule statistics
  • Rule changes will cause breakpoints in data trends

Recommended Approach

  • Major rule adjustments: Create new module, keep old module for a period
  • Minor adjustments: Modify directly and record change time
  • When comparing analysis: Note the timestamp of rule changes

Q5: Why is module data inconsistent with application data?

A: This is normal, for the following reasons:

Different Data Scope

  • Application data: Includes all pages of the application
  • Module data: Only includes pages matched by rules
  • Module data ≤ Application data

Different Aggregation Rules

  • Application data: Aggregated by application
  • Module data: Aggregated by business rules (can span multiple applications within same touchpoint)
  • Same page may belong to different analysis dimensions

Touchpoint Limitations

  • Modules can only aggregate application data from the same touchpoint
  • Web touchpoint and MP touchpoint cannot be mixed in the same module

Verification Methods

  1. Check if rule configuration is correct
  2. Confirm time ranges are consistent
  3. Compare specific page data
  4. Contact technical support for confirmation