Skip to main content
All CollectionsIntegrationsKlaviyo Integration
Add Klaviyo Segments to Rebuy Data Sources
Add Klaviyo Segments to Rebuy Data Sources

This guide will walk you through how to enable Klaviyo Segments in Rebuy and how to use customer segments in custom Data Sources

Kyle Panganiban avatar
Written by Kyle Panganiban
Updated over 2 months ago

Merchants using Klaviyo Segments can now integrate their data into Rebuy Data Sources! Leverage the power of Klaviyo's segments and Rebuy's rules engine to create a fully personalized customer experience that converts and retains shoppers.

The introduction of Klaviyo Segments into Rebuy also empowers merchants to track customer-specific data such as previously purchased and recently viewed products. Start using Klaviyo Segments in Rebuy Data Sources to tailor shopping experiences to each and every customer.


Integrate Rebuy and Klaviyo

Click the button below to learn how to set up the Rebuy x Klaviyo Integration.

The remainder of this help doc outlines how to enable Klaviyo Segments for Data Sources to increase AOV and LTV across the entire customer journey.


How to Enable Segments in Rebuy

Once in the Rebuy Admin Dashboard, navigate to the "Integrations" and then click the "Klaviyo" integration card.

If you haven't already enabled the Klaviyo Integration, read this help doc to do so.

Once the integration is turned on, toggle on the "Klaviyo Segments Integration" then click "Continue" and "Allow" on the following information access pages.

Click the "Resync" link that will appear under the segments toggle and then click "Resync" when the popup window appears.

A message in the bottom right-hand corner of the screen will display, indicating that your data resync will then occur in the background!

If you'd like to purge segment data, you can do so by clicking the "Purge Segment data" link that will be displayed under the "Resync" link.

Click the link and then click "Purge Segment data" when the popup window appears.


How to Apply Segments to Data Sources

Klaviyo Segments can easily be applied to Rebuy Data Sources, just like any other rule would be applied.

To start, navigate to the "Data Sources" tab in the Rebuy Admin Dashboard and select the ruleset you'd like to update or click the "New Ruleset" button.

Then select the rule that you'd like to apply the Klaviyo Segments to and update the following:

  • Change the "Anything" option to "Klaviyo Segment"

  • "Select Segment" and then choose your desired customer segment

  • Select"Contains user" or "Does not contain user"

Leverage the "OR IF" rule to find customers in any of the selected segments:

Or leverage the "AND" rule to find customers that are in all of the selected segments:

After the "IF" section has been fully updated, configure the "RETURN" section as you'd like. You can change the endpoint, select specific products/collections to be returned, and more.


Preview Your Data Source

Once you've configured both sections of the Data Source, you'll be able to preview what product(s) the Data Source will return! To do so, click the "Preview Ruleset" button at the top of the Data Source.

You'd be redirected to a new page, where you can select different options such as input products, cart input, cart details, and customer ID.

After updating your desired inputs, click the "Simulate" button to preview what the Data Source will return.


Klaviyo Segments Data Source Examples

The following Data Source examples provide use cases for how segments can be used when surfacing product recommendations. Notice how the "RETURN" sections further personalize the widgets to return a custom super title, title, and discount:


FAQs

  • What does "Resync" mean?

    • This process will remove your segments from Rebuy and do a fresh sync.

  • What does "Purge Segment Data" mean?

    • This allows you to delete segment data from Rebuy, which can be used if there is an issue (missing segment) or if you disable segments. The primary use case for this would be to troubleshoot any issues. The "Purge Segment Data" button should only show when you have segment data stored on Rebuy.

    • Disabling the segment integration will not automatically purge segment data.

  • What does "Contains User" mean?

    • This Data Source option will recommend products to customers who meet the criteria for the defined Klaviyo segment (i.e user email).

  • What does "Does Not Contain User" mean?

    • This Data Source option will recommend products to customers who do not meet the criteria for the defined Klaviyo segment.

  • How does Rebuy identify site visitors as part of a segment?

    • For first-time purchasers: Rebuy will first be able to identify shoppers as part of a segment once an email address is entered on the merchant site.

      • The user information will be stored in a cookie.

      • Rebuy will then take the email address from the Shopify user information and check it against customer lists in existing segments.

        • Matches will be identified through email addresses.

        • Rebuy’s Klaviyo Segment data updates hourly, on the hour.

    • For returning customers: As long as the cookie (from the initial email address submission) is still present, customers will not need to sign in for Rebuy to identify them as part of an existing segment.

      • Rebuy can verify customers as part of a segment with the provided Shopify user information.

  • Where are the Data Source segments pulled from?

    • Rebuy will pull segments from Klaviyo and then match emails from the Klaviyo profiles (associated to the segment) to Rebuy customer emails.

    • Data Source segments in Rebuy will only render the segments created in each merchant's instance, meaning the available segments in Rebuy will mirror the segments created in Klaviyo. Merchants should continue to update and manage segments in Klaviyo.

    • Read these help articles for more information on the available Klaviyo segments:


Looking for a compiled list of all the Klaviyo integration help docs? We got you!

Did this answer your question?