Using Raw Data in Looker
A comprehensive guide to integrating and analyzing Hardal data in Google Looker Studio
Understanding Hardal Data Structure
Your Hardal data is stored in a MySQL database with a JSON properties
column containing detailed event information. Let’s learn how to access this data effectively.
Creating Calculated Fields
Here’s how to create essential calculated fields to extract data from the JSON properties.
Device Type extraction:
Device Type extraction:
User ID extraction:
Page URL extraction:
Common JSON Paths
Here are the essential JSON paths you’ll need for various analytics purposes:
User Information
Page Information
Campaign Tracking
Creating Essential Reports
Let’s create some fundamental reports for your analytics.
User Flow Analysis
To track user navigation patterns:
Campaign Performance
For tracking marketing effectiveness:
Best Practices
When working with Hardal data in Looker Studio:
-
JSON Extraction
-
Always use REPLACE to remove quotes
-
Handle NULL values appropriately
-
Use consistent naming conventions
-
-
Performance
-
Keep calculations simple
-
Create composite fields when needed
-
Use appropriate data types
-
-
Report Organization
-
Group related metrics
-
Use clear naming conventions
-
Include field descriptions
-
Troubleshooting
Solutions
Check your JSON paths and verify data existence in the properties column.
Check your JSON paths and verify data existence in the properties column.
Simplify calculations and optimize JSON extractions.
Verify data types and JSON structure in your source data.
Advanced Techniques
Session Analysis
Create sophisticated session tracking:
User Engagement Scoring
Calculate engagement levels:
Next Steps
After setting up your basic reports:
-
Create custom dashboards for different stakeholders
-
Set up automated reporting
-
Create calculated metrics for business KPIs