Startup Analytics: Marketing Funnel Reporting Part 1
Is what we’re doing working? Are our campaigns driving revenue? Is anyone even working these MQLs?
Every Marketing team wants to know that their efforts matter. But in a resource-constrained environment (like an early-stage startup), reporting on those efforts can be a major challenge. There’s a host of tools aimed at meeting this need, and many of them can definitely get the job done. But what do you do in the meantime?
Salesforce reporting is decent, but struggles when you’re trying to report across Leads and Contacts. You can work around that by leaning on the Campaign Member object, but at that point you’re putting a lot of weight on your Salesforce Admin. Plus the more you build up infrastructure within your existing tools, the more you need to unwind when you do eventually get an analytics/attribution tool set up.
This is the first in a series of posts around how I’ve addressed this problem: building effective Marketing reporting with zero budget and minimal admin support. All you need to get started is a Salesforce login, Google Sheets, and a willingness to write some formulas.
Getting Started
The end goal is to run all funnel reporting out of Looker Data Studio. It’s a free BI tool (as of June 2023) that gives you a lot of flexibility around data sources and presentation, and, most importantly, it allows you to pull data from a Google Sheet.
Once we’ve got everything set up, our data flows should look like this:
Data Pipeline Diagram
We’re pulling data out of Salesforce, joining it together into a clean format in a Google Sheet, then running Looker Data Studio on top of it. To put it in website terms, Google Sheets is going to be our back-end, and Looker Data Studio will serve as our front-end. If we do this well, our stakeholders will never need to see the sheet — only our neat and tidy dashboard(s).
For this post, I’m going to focus on the first part of the equation; pulling data out of Salesforce and getting it organized in our sheet:
Final Joined Data Structure
Building Data Pipelines
To pull this off, I’m going to be leaning heavily on a free Google Sheets add-on to get data out of Salesforce and into the sheet on a recurring basis. There’s a few good options out there, but I most commonly use Google’s “Data connector for Salesforce”. Xappex’s “G-Connector” is also a solid choice, but setting up automated pulls comes with a price tag.
The next step is to create three Salesforce Reports that we’ll then pull into separate tabs within our sheet using the add-on. Here’s a link to a sheet you can clone to get started; I’ll be adding more structure to it over time but for now it has the tabs I typically use.
My assumption is that you’re running a Salesforce instance with both Leads and Contacts. If you’re only using Leads, things get a lot simpler and you can ignore most references to Contacts. Assuming you are running with both objects, you’re going to start by building three reports:1
- Leads
- Accounts with Contacts
- Opportunities with Contact Roles
Pulling Salesforce Reports
Without knowing anything about your particular instance, I can’t say with confidence what fields you should pull (if you’d like me to take a look and provide some guidance, send me an email!). But as a solid starting point, I’d recommend something like this:2
- Leads
- Filters
Converted= FalseEmail Address!= “”
- Fields
Lead IDEmail AddressCompany NameCreated DateLead SourceLead StatusMQL Date(If you have one)
- Filters
- Contacts with Accounts
- Filters
Email Address!= “”
- Fields
Contact IDEmail AddressAccount NameCreated DateLead SourceContact StatusMQL Date(If you have one)
- Filters
- Opportunities with Contact Roles
- Filters
Email Address!= “”Primary= TRUE
- Fields
Contact IDOpportunity IDOpportunity NameOpportunity Created DateOpportunity Lead SourceOpportunity StageOpportunity AmountOpportunity Close DateOpportunity Won
- Filters
Our Lead report and our Contact report have pretty much the exact same set of fields — that’s by design, and it’s going to help us out a ton when it comes to constructing our joined dataset. If you have additional fields you’d like to add, I recommend trying to keep the two aligned as much as possible.
Once you have your reports set, hop into the sheet. For each tab (Salesforce Leads, Salesforce Contacts, and Salesforce Opportunities), you’re going to open the add-on from the ‘Extensions’ menu, select Reports, and pick the corresponding one you just created. Replace the data in the sheet and you’re golden.
Salesforce Connector Menu
Now you’ve got the building blocks in place. All of the Salesforce data we need is in our sheet, and we have data pipelines in place to refresh that data on a regular basis.
We’re ready to dive into the next phase of our project: constructing our joined dataset.3
The Sheets add-on we’re using can also import data directly from Salesforce, but using reports allows us to easily add additional fields in the future within Salesforce, keeping the overall flow of data clean and our pipelines as simple as possible.↩︎
The basic idea with these fields is to pull key identifiers for each object along with a set of key dates. We’ll use the identifiers to unify our data into an orderly schema, and we’ll use the dates to build out funnel progression metrics along with a basic conception of influence/attribution.↩︎
I’ll add a link to the post here when I publish it!↩︎
Written by Jack Segal. Shoot me an email with questions or comments, and if you'd like to support my writing, you can send me a tip using Stripe!
Date
2023-06-25Subscribe
Fill out the form to get notified whenever a new post goes live!