An enterprise-grade, full-stack Business Intelligence & E-Commerce Funnel Analytics Platform built with Python, Streamlit, Plotly, Pandas, and the Google Analytics 4 (GA4) API.
This application empowers digital marketers, e-commerce managers, and QA Automation Engineers to visualize user conversion funnels, detect high-impact page drop-offs, audit traffic channel quality, and generate automated AI recommendations for test automation suites.
- Tracks user journeys across critical steps:
Landing PageβProduct ViewβAdd to CartβCheckoutβPurchase. - Calculates step-over-step retention and conversion percentages to identify exact drop-off bottlenecks.
- Scans conversion metrics and dynamically generates executive insights.
- Suggests targeted Automated QA Test Suites (e.g., triggering Selenium/Playwright scripts on payment gateways when checkout drop-off exceeds 35%).
- Analyzes traffic channels (Organic Search, Paid Ads, Social Media, Direct) based on revenue generation and bounce rates.
- Identifies low-quality referral sources damaging marketing return on investment (ROI).
- Equipped with a built-in Demo Sandbox Mode that generates realistic simulated e-commerce data.
- Allows recruiters, clients, and team members to test and explore the dashboard without configuring Google Cloud service accounts.
- Frontend UI: Streamlit (Custom Glassmorphism Dark Theme CSS)
- Data Visualization: Plotly Express & Plotly Graph Objects
- Data Processing: Pandas, NumPy
- Analytics Integration: Google Analytics 4 Data API (
google-analytics-data) - AI Engine: Algorithmic Rule & LLM Insight Generator
ga4-bi-dashboard/
βββ app.py # Main Streamlit dashboard interface
βββ requirements.txt # Python dependencies
βββ README.md # Enterprise documentation & user guide
βββ modules/
βββ __init__.py
βββ sandbox_data.py # Simulated e-commerce funnels & traffic data
βββ ai_engine.py # AI Insight & QA recommendation generator
βββ ga4_client.py # GA4 API client wrapper with fallback
- Python 3.9+ installed on your operating system.
Navigate to the project directory and install the required dependencies:
cd c:\Users\rahma\Desktop\ga4-bi-dashboard
pip install -r requirements.txtLaunch the Streamlit web server:
streamlit run app.pyThe application will automatically open in your default browser at http://localhost:8501.
To connect the dashboard to a real Google Analytics 4 property:
- Create a Service Account in the Google Cloud Console.
- Download the JSON credentials file and place it in the project root as
credentials.json. - Set the environment variables in a
.envfile:
GA4_PROPERTY_ID=123456789
GOOGLE_APPLICATION_CREDENTIALS=credentials.jsonI specialize in test automation frameworks, web scraping engines, and data-driven analytics applications.
- LinkedIn Profile: Atiqur Rahman on LinkedIn
- Primary Skills: Python Data Analysis, Selenium, Playwright, Rest Assured API Testing, Java, Streamlit, Technical SEO.