Home Klaviyo

Klaviyo

Vikas Bansal
By Vikas Bansal
3 articles

Understanding Klaviyo metrics in Datadrew

Datadrew integrates with Klaviyo to surface your email marketing performance alongside your Shopify, ad, and website data. This article explains the key Klaviyo metrics available in Datadrew and Drew AI. Campaign metrics | | | | | --- | --- | --- | | Metric | Definition | Why It Matters | | Campaigns Sent | The total number of email campaigns sent during the selected period. | Tracks your email marketing activity level. Useful for understanding cadence and correlating with subscriber fatigue. | | Open Rate | The percentage of delivered emails that were opened. Note: Apple Mail Privacy Protection may inflate open rates. | Indicates how effective your subject lines and sender reputation are. Compare across campaigns to identify what resonates. | | Click Rate | The percentage of delivered emails where a recipient clicked at least one link. | A stronger engagement signal than open rate. Measures how compelling your email content and CTAs are. | | Revenue | Revenue attributed to email campaigns by Klaviyo, based on Klaviyo's attribution model. | Shows the direct monetary impact of your email marketing. Compare with your ad spend to evaluate channel efficiency. | | Unsubscribes | The number of recipients who unsubscribed after receiving a campaign. | A rising unsubscribe rate signals content fatigue or poor list hygiene. Monitor this relative to your send volume. | | Bounce Rate | The percentage of emails that failed to deliver (hard bounces and soft bounces). | High bounce rates hurt your sender reputation. Regularly clean your list to maintain deliverability. | Flow metrics | | | | | --- | --- | --- | | Metric | Definition | Why It Matters | | Active Flows | The number of automated email flows currently active in your Klaviyo account. | Automated flows (welcome series, abandoned cart, post-purchase) often drive the highest ROI per email. Track how many you have active. | | Flow Revenue | Revenue attributed to automated flows by Klaviyo. | Typically the highest-performing email channel. If flow revenue is low relative to campaign revenue, consider building more automated sequences. | How Drew AI uses Klaviyo data Drew AI can answer natural language questions about your Klaviyo performance using both historical synced data and real-time API data. Example questions: - "What is my email open rate this month?" - "Which campaign had the highest click rate last week?" - "How much revenue did my flows generate in Q1?" - "Show me my top-performing Klaviyo campaigns by revenue" - "What is my unsubscribe rate trend over the last 6 months?" Drew AI accesses live Klaviyo data through the MCP gateway, which supports 18 different Klaviyo tools including reading campaigns, flows, segments, profiles, metrics, events, and reporting data. Klaviyo data in the weekly report If you have Slack connected and weekly reports enabled, Klaviyo metrics are included in your automated weekly performance report alongside Shopify and ad metrics. This gives you a consolidated view of all your marketing channels in one place. Important notes on attribution - Klaviyo uses its own attribution model (typically last-touch within a specific window). Revenue attributed to Klaviyo may overlap with revenue attributed to Facebook or Google Ads. - Do not sum Klaviyo revenue with ad platform revenue to calculate total revenue -- use your Shopify revenue as the source of truth. - Datadrew's blended metrics view accounts for these attribution overlaps by using Shopify as the revenue baseline. Need help? Contact us at support@datadrew.io. Related articles - Connecting your Klaviyo account - Email marketing analysis (Klaviyo) - Syncing RFM segments to Klaviyo - How to connect Klaviyo Need help? If you have questions or run into issues, reach out to us at support@datadrew.io or use the in-app chat. We're happy to help.

Last updated on Jul 07, 2026

Syncing RFM segments to Klaviyo

One of Datadrew's most powerful features is the ability to sync your RFM (Recency, Frequency, Monetary) customer segments directly to Klaviyo. This lets you create targeted email campaigns and flows based on data-driven customer segments, without manually building lists in Klaviyo. What is RFM segmentation? RFM segmentation classifies your customers based on three dimensions: - Recency -- How recently a customer made their last purchase. - Frequency -- How often a customer purchases from your store. - Monetary -- How much a customer has spent in total. Datadrew calculates RFM scores from your Shopify order data and groups customers into 10 distinct segments, such as Champions, Loyal Customers, At Risk, Lost, and more. How the sync works When you trigger an RFM sync to Klaviyo, Datadrew: 1. Fetches your current RFM segments from your analytics data warehouse, including all customer emails in each segment. 2. Validates email addresses to filter out invalid formats before sending to Klaviyo. 3. Creates bulk profile import jobs in Klaviyo using the Profile Bulk Import API. Each customer's profile is updated with a datadrew_segment property set to their RFM segment name. 4. Processes in chunks of up to 10,000 profiles per batch to handle large customer bases efficiently. What gets synced to Klaviyo For each customer in each RFM segment, Datadrew sends: - Email address -- The customer's email from your Shopify data. - Custom property: datadrew_segment -- The name of the customer's current RFM segment (e.g., "Champions", "At Risk", "Hibernating"). This property is added to the customer's Klaviyo profile and updated each time you run the sync. Using RFM segments in Klaviyo Once the sync is complete, you can use the datadrew_segment property in Klaviyo to: - Build segments -- Create Klaviyo segments like "datadrew_segment equals Champions" to target your best customers. - Trigger flows -- Set up automated flows that activate when a customer enters a specific segment (e.g., send a win-back campaign when a customer moves to "At Risk"). - Personalize campaigns -- Use the segment property in email templates for personalized messaging. - Exclude segments -- Exclude certain segments from campaigns (e.g., do not send discount emails to Champions who already buy at full price). The 10 RFM segments | | | | | --- | --- | --- | | Segment | Description | Suggested Klaviyo Strategy | | Champions | Bought recently, buy often, spend the most | Reward programs, early access, referral incentives | | Loyal Customers | Buy regularly with good spend | Upsell, cross-sell, loyalty rewards | | Potential Loyalists | Recent buyers with moderate frequency | Nurture with product recommendations | | Recent Customers | Just made their first or second purchase | Welcome series, education, brand storytelling | | Promising | Recent buyers but low spend | Value-add content, bundle offers | | Need Attention | Above-average customers who have not bought recently | Re-engagement campaigns, special offers | | About to Sleep | Below-average recency and frequency | Urgency-driven campaigns, feedback surveys | | At Risk | Used to buy often and spend a lot, but have not returned | Win-back campaigns with strong incentives | | Cannot Lose Them | High-value customers who have been gone a long time | Personalized outreach, VIP offers | | Hibernating | Low recency, frequency, and monetary scores | Re-activation campaigns or sunset from active lists | Sync frequency RFM segments are recalculated whenever your Shopify data syncs. You can trigger a sync to Klaviyo manually from the RFM dashboard in Datadrew, or it can be automated as part of your scheduled jobs. Requirements - Your Klaviyo account must be connected to Datadrew (see Connecting your Klaviyo account). - Your Shopify store must have enough order history for meaningful RFM segmentation. Need help? Contact us at support@datadrew.io. Related articles - Connecting your Klaviyo account - Automating RFM segment sync to Klaviyo - RFM Segmentation - Customer segmentation and RFM analysis Need help? If you have questions or run into issues, reach out to us at support@datadrew.io or use the in-app chat. We're happy to help.

Last updated on Jul 07, 2026

Connecting your Klaviyo account

Connecting your Klaviyo account to Datadrew lets you see email marketing performance alongside your Shopify, ad, and website data. Datadrew uses Klaviyo's OAuth to securely access your campaign, flow, and profile data. This guide walks you through the process. Prerequisites - An active Klaviyo account with admin or owner access. - An active Datadrew account with your Shopify store already connected. - Pop-ups enabled in your browser. Step-by-step connection 1. In Datadrew, go to Settings > Integrations. 2. Find the Klaviyo card and click Connect. 3. A Klaviyo authorization window will open. Sign in if you are not already logged in. 4. Klaviyo will ask you to authorize Datadrew. The permissions requested include: - Read access to accounts, campaigns, flows, metrics, lists, segments, profiles, templates, events, and forms - Write access to profiles, lists, segments, events, and tags (used for RFM segment syncing) 5. Click Allow to authorize. You will be redirected back to Datadrew. 6. Datadrew will automatically detect your Klaviyo account name and ID. The integration will be marked as connected. OAuth vs. API key Datadrew uses Klaviyo's OAuth 2.0 flow with PKCE (Proof Key for Code Exchange) for secure authorization. This is more secure than sharing an API key because: - You never need to copy and paste an API key. - Datadrew receives scoped access tokens that can be revoked at any time from your Klaviyo settings. - Token refresh is handled automatically. What data syncs Once connected, Datadrew syncs the following from your Klaviyo account: - Campaigns -- Campaign names, statuses, send times, and performance metrics. - Flows -- Automated flow details and statuses. - Profiles -- Customer profiles including email, properties, and segment membership. - Lists -- Email list names and member counts. - Metrics -- Klaviyo metric definitions used for event tracking. - Email templates -- Template names and metadata. What to expect after connecting - Your Klaviyo integration will be available to Drew AI immediately for real-time queries (Drew AI can access live Klaviyo data through the MCP gateway). - Historical data syncs via the data pipeline, typically completing within 15 to 45 minutes. - Once synced, Klaviyo data appears in your Datadrew dashboards and is available for Drew AI natural language queries. Disconnecting and reconnecting You can disconnect Klaviyo at any time from Settings > Integrations. To reconnect, click Connect and complete the OAuth flow again. You can also revoke Datadrew's access directly from your Klaviyo account under Settings > API Keys > OAuth. Need help? Contact us at support@datadrew.io. Related articles - How to connect Klaviyo - Syncing RFM segments to Klaviyo - Understanding Klaviyo metrics in Datadrew - Email marketing analysis (Klaviyo) Need help? If you have questions or run into issues, reach out to us at support@datadrew.io or use the in-app chat. We're happy to help.

Last updated on Jul 07, 2026