METRICS & DELIVERABILITY

How to get Klaviyo data into Google Sheets (and what to look at)

The simplest way to get Klaviyo data into Google Sheets is to export your campaign or flow analytics as a CSV from Klaviyo, then use File > Import in Sheets. If you want it to refresh on its own, someone technical can pull Klaviyo's Reporting API into the sheet with Google Apps Script on a daily schedule. This is for Shopify founders and small teams who live in Google Sheets and want their email numbers there too, without buying a BI tool.

Jack White
Jack White Founder, Bardown Digital
Updated · 9 min read
KEY TAKEAWAYS
  • I couldn't find a Google Sheets integration made by Klaviyo. The integrations that do exist are third-party automation tools, and the ones I checked move events and profiles, not campaign reports.
  • Manual route: export the CSV from Campaigns or Flows, then File > Import > "Replace current sheet" in Google Sheets.
  • Automated route: Apps Script calling Klaviyo's Reporting API with a read-only key. It's tightly rate-limited, so refresh daily, not live.
  • IMPORTDATA won't work here. It takes a URL and nothing else, and Klaviyo's reporting endpoints need a private key and a POST request.
  • Once it's in Sheets, sort by clicks and revenue per recipient. Not opens.

Is there a Klaviyo Google Sheets integration?

Not one made by Klaviyo, as far as I could find. When you search for it, what comes up are third-party tools: automation platforms, connectors and data pipelines.

I checked one of the big ones. Zapier's Klaviyo + Google Sheets page is built around templates like creating sheet rows for new Klaviyo events and adding profiles to lists or segments. That's useful for things like logging sign-ups. It doesn't mention campaign or flow performance reports, which is what most founders actually want in a sheet.

So for reporting, you're looking at two routes: a CSV you import, or the API.

How do you get Klaviyo campaign data into Google Sheets?

Export a CSV from Klaviyo, then import it. I walk through the export clicks and every column in the campaign file in how to export Klaviyo campaign data, so here's the short version.

In Klaviyo: 1. Campaigns tab > the three-dot Options menu next to "View library" > Export analytics (not the legacy one). 2. Pick a date range and channels, and decide whether to include A/B test variation rows. 3. Click Export. The CSV downloads when it's ready.

For flows, it's Flows > Options > Export analytics. Klaviyo's help center says Owners, Admins and Analysts can export flow analytics, and you can tick a box to aggregate by day, week or month. Each interval gets its own row, which is what you want if you're charting a trend in Sheets.

In Google Sheets: 1. Open your reporting spreadsheet and click File > Import. 2. Upload the CSV. 3. Choose an import location. Google gives you options including create a new spreadsheet, insert new sheets, replace current sheet, and append rows to current sheet. 4. Leave the separator on auto-detect (or pick comma) and click Import.

Here's the setup I'd use. Keep one tab called "raw" for the campaign export and one for the flow export. Each month, import with Replace current sheet so the raw tab is always the latest file. Build your summary on a separate tab that only reads from the raw tabs. Your formulas never break, and the monthly job is two exports and two imports.

One more manual option. If you build a custom report in Klaviyo (Analytics > Custom reports), the help center says you can click Export CSV once it runs. Klaviyo's newer Report builder, still in beta, can also email you a link to a fresh CSV weekly or monthly. But it's only for accounts with Advanced KDP or Personalization access, so check before you plan around it.

Can you automate Klaviyo to Google Sheets?

Yes, but it takes someone comfortable with a bit of code.

Why IMPORTDATA doesn't work. Google's IMPORTDATA function pulls a CSV or TSV from a URL. Its syntax is just IMPORTDATA(url). There's no spot for an API key. Klaviyo's reporting endpoints, like the campaign values report, are POST requests that need a private API key. A Klaviyo export also isn't sitting at a public URL. So there's nothing for the formula to point at.

What does work: Apps Script plus the Reporting API. Google Apps Script's UrlFetchApp can send a POST request with custom headers and a body. That's exactly what Klaviyo's Reporting API needs. The pieces:

  • The data. Klaviyo has a campaign values report and a flow values report. Klaviyo's developer docs say the Reporting API returns 1:1 matches of the performance numbers shown in the Klaviyo UI. Both reports need a conversion_metric_id, usually your Placed Order metric. Max timeframe per request is one year.
  • The key. Create a private API key in Klaviyo under Settings > API keys. Klaviyo lets you make a Read-Only key or a Custom key where you set each scope. For this you only need read access to campaigns and flows (campaigns:read, flows:read). Klaviyo's advice is to give each app only the permissions it needs and use a separate key per app. Don't paste a full-access key into a spreadsheet script.
  • The schedule. Apps Script time-driven triggers can run a function on a recurring interval, like every morning.

Respect the rate limits. Klaviyo's reference for the campaign values report lists a steady rate of 2 requests per minute and a cap of 225 requests a day. Their integration guide says to pull reporting endpoints "a few times a day at most" and cache aggressively. Once a day is plenty. Your campaign numbers don't need to update every ten minutes, and you shouldn't be looking every ten minutes either.

Don't mix in Query Metric Aggregates. Klaviyo has another API for custom rollups. It groups by when events happened, while the Reporting API and the dashboard group by send date. Klaviyo's own guide calls the mismatch the most common source of confusion. If your sheet uses the Reporting API, your numbers will match Klaviyo. Stick with it.

If you'd rather not write a script, there are paid third-party connectors that pull Klaviyo into Sheets. I'm not recommending a specific one. Before you pay, check whether it pulls Reporting API numbers or raw events. Raw events won't line up with your Klaviyo dashboard.

What should you look at once Klaviyo data is in Sheets?

Getting the data in is the easy part. The point is knowing what to sort by.

Sort campaigns by click rate and revenue per recipient. Across 4 consumable brands and 2,897 campaigns, click rate tracked revenue at 0.65. Open rate tracked it at 0.32. Apple's automatic opens push some segments past 85% open rate, so a column of high open rates can look great and mean very little. Put opens at the far right of your summary tab, if at all. More on why in open rate vs click rate and revenue per recipient.

Use the flow export to find where your volume is. That's what I use it for. Sort flow messages by recipients and you'll see which emails actually get sent the most. That tells you what to test first. A rewrite on an email that goes to a handful of people a week won't move anything, and you'll wait forever for a result.

Judge each test on the right column. When you log A/B tests in a sheet, add a column for what decides the winner:

Test type Judge it on
Subject line Opens
Content or CTA Clicks
Offer Revenue
Segment Revenue per recipient

That's the framework I use. It stops the most common mistake, which is calling an offer test based on opens.

Hand the file to AI for the pattern work. Sheets is great for tracking the same numbers every month. It's slow for "what do my best campaigns have in common?" For that, I upload the Klaviyo campaign file to Claude or ChatGPT and ask it to find the winning subject line patterns for that brand. The prompts I use are in how to export Klaviyo data and analyze it with AI.

When I tried Klaviyo's Composer, nothing was wrong with it exactly, but comparing revenue across time periods took a long time. Downloading the CSV, or having Claude pull and analyze it, was faster. A sheet sits in the middle. It's the place to keep the history, so the comparison across months is already done.

Google Sheets, Power BI or just Klaviyo?

Pick the lightest tool that gets the report read.

  • Just Klaviyo works if one person checks numbers weekly. The weekly Klaviyo check covers what to look at in 15 minutes.
  • Google Sheets works when you want a monthly history, want to mix in a few numbers from Shopify, or share a report with a partner or investor.
  • Power BI, Tableau or BigQuery make sense once you're joining email with ad spend and Shopify data across lots of sources. That's covered in how to get Klaviyo data into Power BI.

For what goes on the summary tab, the email marketing report template lays out the numbers I'd put on a one-page monthly report. It maps straight onto a Google Sheet.

My take: most brands should start with the manual CSV import and stay there until the export is the thing stopping the report from happening. Automating a report nobody reads just gets you an unread report faster.

FAQ

Does Klaviyo integrate with Google Sheets?

Not with a Klaviyo-built integration that I could find. Third-party automation tools connect the two, mostly for events and profiles. For performance reports, export a CSV or use Klaviyo's Reporting API.

How do I export Klaviyo data to Google Sheets?

Export campaign or flow analytics from Klaviyo as a CSV, then in Google Sheets go to File > Import, upload the file and choose where it goes.

Can I use IMPORTDATA to pull Klaviyo data?

No. IMPORTDATA only takes a URL. Klaviyo's reporting endpoints need a private API key in a POST request, so use Apps Script instead.

How often can I refresh Klaviyo data in Google Sheets?

Once a day is the sensible pace. Klaviyo's reporting endpoints are tightly rate-limited, and Klaviyo recommends pulling them a few times a day at most.

What API key do I need for Klaviyo reports in Sheets?

A private key with read access to campaigns and flows. Use a Read-Only or Custom key, never a full-access one.

Why don't my Sheets numbers match Klaviyo?

Usually because the data came from raw events or Query Metric Aggregates, which group by when events happened. The Klaviyo dashboard and the Reporting API group by send date.

Jack White, founder of Bardown Digital
WRITTEN BY Jack White

Founder of Bardown Digital, a Chicago-based Klaviyo email and retention agency for Shopify brands. He's worked with brands doing $500K to $100M a year, with $100M+ in email-attributed revenue across them.

SOURCES

Keep reading

All posts →
METRICS & DELIVERABILITY · 9 MIN READ

How to export Klaviyo campaign data and find your winning patterns with AI

How to export your Klaviyo campaign and flow data to a CSV, what's in the file, and how to use Claude or ChatGPT to find your winning subject line patterns.

Read the post →
METRICS & DELIVERABILITY · 8 MIN READ

Klaviyo bot clicks: how to spot fake clicks before they fool you

What Klaviyo bot clicks are, where they come from, how to exclude them from click rate and segments, and how to tell a real click spike from a fake one.

Read the post →
METRICS & DELIVERABILITY · 7 MIN READ

Email list churn rate: how fast lists decay and what to do about it

Email list churn rate is the share of subscribers you lose in a period. Here's how to calculate it in Klaviyo, what decay looks like, and what to fix first.

Read the post →

Want a second set of eyes on your numbers?

A sheet is only as good as the numbers you put on it. The first strategy session is free: one hour, live with me in your Klaviyo account, and you leave with a fix list even if we never work together. Not ready to book? Grab one of my free resources instead.

Book a strategy session
Or email me at jackwhite@bardowndigital.com