What You Will Learn
You will learn how to use Gemini to analyze marketing campaign performance across spend, leads, conversion, CAC proxy, pipeline, and revenue impact.
Required Dataset
Use the Northstar_SaaS_Dataset.
Use these tabs:
Leads
Accounts
Opportunities
Create three new tabs:
Campaign_ROI_Practice
Campaign_ROI_Summary
Marketing_ROI_Check
Before You Start
Copy relevant fields from Leads into Campaign_ROI_Practice, including Lead ID, Lead Date, Company Name, Lead Source, Lead Score, MQL Flag, and SQL Flag.
Add campaign spend manually by lead source. For example:
Webinar
Paid Search
Referral
Event
Organic
Outbound
Add columns for Campaign Spend, MQL Numeric, SQL Numeric, Account ID, and Review Needed.
Step-by-Step Instructions
Step 1. Ask Gemini to structure the analysis
Use this prompt:
Act as a SaaS marketing analytics consultant.
Use the Campaign_ROI_Practice, Leads, Accounts, and Opportunities tabs.
Objective: Recommend a marketing campaign ROI analysis.
Focus on campaign spend, leads, MQLs, SQLs, conversion rates, cost per lead, cost per MQL, cost per SQL, influenced pipeline, weighted pipeline, closed-won revenue, CAC proxy, and ROI proxy.
Return recommended formulas, summary views, attribution caveats, and quality checks.
Step 2. Create funnel metrics
Use formulas such as:
=COUNTIFS(Campaign_ROI_Practice!Lead_Source_Range,A2)
=SUMIFS(Campaign_ROI_Practice!MQL_Numeric_Range,Campaign_ROI_Practice!Lead_Source_Range,A2)
=IFERROR(MQLs/Leads,””)
For cost metrics:
=IFERROR(Campaign Spend/Leads,””)
=IFERROR(Campaign Spend/SQLs,””)
Step 3. Link campaigns to opportunities
Use Company Name or Account ID to connect leads to opportunities. Treat this as an influenced pipeline unless you have formal attribution data.
Calculate:
Influenced Pipeline
Weighted Pipeline
Closed-Won Revenue
Revenue-to-Spend Ratio
ROI Proxy
CAC Proxy
Step 4. Ask Gemini to interpret results
Use this prompt:
Interpret the Campaign_ROI_Summary tab. Identify campaigns with strong lead volume, strong qualification, efficient cost per SQL, meaningful pipeline, and closed-won revenue signal. Use cautious language and do not overstate attribution.
Expected Result
You should have a campaign ROI summary showing funnel efficiency, cost efficiency, pipeline influence, and revenue signal by campaign or channel.
Check Your Work
Confirm that spend is mapped correctly, MQL and SQL rates use the right denominators, CAC is labeled as a proxy, and influenced revenue is not described as fully attributed revenue.
Optional Extension
Ask Gemini:
Create a budget reallocation recommendation using Campaign_ROI_Summary. Consider spend, leads, SQL rate, cost per SQL, influenced pipeline, closed-won revenue, confidence, and attribution caveats.
