Log Workspaces enables e-commerce businesses to gain valuable insights into their online stores by analyzing transaction data, customer behavior, and system performance. This guide shows how to use Log Workspaces to monitor your e-commerce platform, detect issues, and optimize the shopping experience.
Benefits
Using Log Workspaces for e-commerce monitoring offers several advantages:
Real-time transaction visibility: Track sales, cart abandonment, and checkout processes as they happen
Customer experience insights: Identify pain points in the customer journey
Revenue impact analysis: Quantify the financial impact of technical issues
Performance optimization: Pinpoint and address bottlenecks affecting conversion rates
This guide demonstrates how to use Log Workspaces with an example focusing on payment failures and customer ratings.
Understanding the data
Follow this example to understand how to correlate payment processing errors from your web-store service with negative customer ratings and reviews from the shopist-customer-feedback service. It also demonstrates how to quantify the revenue impact of bad ratings caused by failed payment experiences.
The example focuses on two critical aspects of e-commerce operations:
Payment Processing: Logs from the payment gateway indicating successful and failed transactions
Customer Feedback: Ratings and reviews submitted after purchase attempts
Bringing in your data source and building your queries
Create a workspace and add data sources for payment transactions and customer feedback. For instructions on creating a workspace and adding data sources, see Log Workspaces.
1. Customer feedback with bad ratings
This data source cell contains customer feedback logs with negative ratings collected by the ratings service, focusing on customers who reported issues.
Data source cell for customer feedback, filtering to show only negative ratings to identify problematic experiences.
2. Webstore payment errors
This data source cell shows payment error logs from the e-commerce platform, including the merchant ID and cart value to help identify high-impact failures.
Data source cell for payment errors, showing transaction details including cart value and merchant information.
SQL query analysis
Query purpose and structure
This query correlates payment errors with customer feedback, categorizing transactions by value to understand the relationship between technical issues, customer satisfaction, and revenue impact.
This SQL query performs several important functions:
Data correlation: Joins payment error logs with customer feedback logs using the display_id to connect the same transaction
Value segmentation: Categorizes transactions as “high value” (>$50) or “low value” to prioritize issues
Merchant identification: Includes the merchant information to identify patterns by seller
Chronological tracking: Timestamps help identify when issues occurred
Prioritization: Orders results by cart value to highlight highest revenue impact first
The query focuses on payment errors that also received bad ratings, providing a view of technical issues that directly affected customer satisfaction.
Query output
The query from the Analysis cell populates a table showing payment errors that resulted in negative customer feedback, categorized by value tier. By analyzing this data, you can prioritize fixes based on revenue impact and improve both technical reliability and customer satisfaction.
Analysis results showing correlated payment errors and customer feedback, with transactions categorized by value tier for prioritization.
Visualize the data
Log Workspaces provides powerful visualization capabilities to transform your e-commerce data into actionable insights:
Time series charts: Track payment errors and bad ratings over time to identify patterns or spikes
Merchant performance comparisons: Compare success rates across different sellers on your platform
Value tier distribution: Visualize the proportion of issues affecting high vs. low value transactions
Geo-distribution maps: See where payment issues are occurring geographically
Treemap graph showing the distribution of payment errors by merchant and value tier, highlighting which sellers have the most high-value transaction issues.
Advanced analysis on SQL queries
Reference tables in Log Workspaces allow you to import additional contextual data to enrich your analysis. For e-commerce operations, reference tables can provide critical business context that isn’t available in your logs alone.
In this example, we’ll use a reference table containing merchant details to enhance our payment error analysis:
1. Create a reference table
Upload a CSV file with merchant information or query it from another data source.
2. Join with log data
Use the merchant ID as the common key to connect log data with merchant details. In the example, analysis combines payment error logs with merchant reference data to provide business context for troubleshooting.
3. Calculated field queries
Add business context like merchant tier, contract details, or support contacts. The following Calculated Field query computes the sum of lost revenue from failed transactions, grouped by merchant tier to identify high-impact segments:
4. Visualize the results
Create charts to visualize the lost revenue by merchant tier for clearer business impact assessment. The following pie chart displays the distribution of lost revenue across different merchant tiers, highlighting which segments contribute most to revenue loss and require immediate attention. This graph makes it easier for stakeholders to quickly identify which merchant categories are experiencing the highest financial impact from failed transactions.
Further reading
Additional helpful documentation, links, and articles: