๐ Campaign Intelligence Suite
An end-to-end analytics and modeling solution designed to optimize marketing campaign performance across multiple channels and regions. This suite empowers marketing teams with predictive insights, performance diagnostics, and interactive dashboards to drive strategic decisions and maximize ROI.
๐ GitHub Repository
๐ click to view Campaign-intelligence-suite
๐ง Project Overview
Evaluating campaign effectiveness across platforms like TV, Social Media, Email, and Search is a persistent challenge for marketers. This project analyzes 200,000+ campaign records to uncover performance drivers, predict conversion outcomes, and visualize key metrics for stakeholder decision-making.
๐ Key Objectives
- Clean and preprocess multi-channel campaign data
- Engineer features for predictive modeling and dashboarding
- Build regression models to optimize conversion outcomes
- Deploy interactive dashboards for real-time campaign monitoring
๐ Project Structure
File Name |
Description |
campaign_data.csv |
Raw campaign dataset with 200,000 entries |
cleaned_campaign.csv |
Preprocessed dataset with feature engineering |
campaign_model.pkl |
Trained model for predicting conversions |
campaign.sql |
SQL queries for data extraction and filtering |
sqlconnect.py |
Python script for SQL database connection |
app.py |
Streamlit app for dashboard deployment |
campaign intelligence suite.ipynb |
Jupyter notebook with EDA, modeling, and insights |
campaign intelligence suite dashboard |
Packaged dashboard for stakeholder presentation |
๐งน Data Preprocessing
- Converted
start_date
and end_date
to datetime format
- Calculated campaign duration
- Normalized budget and engagement metrics
- One-hot encoded categorical features (
channel
, region
)
- Removed outliers and handled missing values
๐ Exploratory Data Analysis
- ๐ Performance trends by channel and region
- ๐ฐ Budget vs. conversions correlation
- ๐ Click-through and conversion rate distributions
- ๐
Seasonal and duration-based performance patterns
๐ค Modeling Approach
- Target Variable:
conversions
- Algorithms Used: Linear Regression, Random Forest, XGBoost
- Evaluation Metrics: RMSE, Rยฒ Score, MAE
- Top Features:
Budget
, Impressions
, Channel
, Region
๐ Dashboard Overview
๐ท Power BI Dashboard
Visualizes campaign performance across dimensions:
- ๐บ๏ธ Regional conversion heatmaps
- ๐ Channel-wise conversion trends
- ๐
Campaign timeline analysis
- ๐ KPI cards for budget, impressions, and conversion rates


๐ข Streamlit App
Interactive dashboard for real-time campaign insights:
- ๐ Campaign-level performance summary
- ๐ฎ Conversion prediction tool
- ๐ Feature importance visualization
- ๐ Filters by channel, region, and campaign duration


๐ Deployment
- Model serialized with
joblib
as campaign_model.pkl
- Dashboard deployed via Streamlit Cloud
- SQL integration for dynamic data updates
- Git LFS used for large file management
๐ง Business Impact
- Identifies high-performing channels and regions
- Predicts conversion outcomes for budget allocation
- Enables real-time campaign monitoring and diagnostics
- Supports data-driven marketing strategy and ROI optimization
๐ ๏ธ Tech Stack
- Python: Pandas, NumPy, Scikit-learn, Streamlit
- SQL: Data extraction and filtering
- Visualization: Power BI, Matplotlib, Seaborn, Plotly
- Deployment: Streamlit Cloud, GitHub, Git LFS
๐ Future Enhancements
- Integrate real-time campaign feeds via APIs
- Add ROI and cost-per-conversion metrics
- Enable user-uploaded campaign data for prediction
- Expand dashboard to include A/B testing insights and uplift modeling
๐ค Author
Anesh Raj
๐ GitHub Profile